Adding adhoc user in workflow step

Hi,
I have a one step criteria workflow. There is one approver. Now the requirement come to make one contributor Approver too. BUT I don’t want second approver/contributor to be able to approve her/his own content. in workflow entry step, I tried following script to set workflowstep user :
<$wfSet("conditionalApprover", "contributor1")$>
<$wfSet("type", "user")$>
<$wfAddUser(wfGet("conditionalApprover"), wfGet("type"))$>
But it is not working. Content item is not assigned to "Contributor1".
Thanks

user4884609 wrote:
i found out the solution
thanksIt's always best practice to supply the solution or solution details when in the forum, even if you solve it before anyone gets a chance to chime in. It's unfortunate for others to search & find this thread but find out there's no closure.
It would be great if you could supply some details : )
For others, here's a blog with some similar details about customizing workflow reviewers:
http://senasystems.blogspot.com/2010/09/getting-user-information-advanced.html
http://senasystems.blogspot.com/2010/11/adding-external-users-as-document.html
Thanks,
-ryan
Ryan Sullivan | ECMconsultant
http://www.ecmconsultant.net/

Similar Messages

  • Url link in User Decision workflow step

    Hi Experts,
    I had created a workflow for "Employee transfer" process using SWDD tcode.
    I had a created a workflow step with type as "User Decision".I had included "Approve" & "Reject" decision options.
    Now i want to include URL link along with "Approve" & "Reject" in the user decision workflow step (i.e) The manager needs to see the URL link along with "Approve" & "Reject" in his SAP workflow inbox.
    Can anyone guide me...
    Regards,
    Krishna Balaji T

    Hi Krishna,
    I understand your issue. I have faced a similar issue in my project.
    Here is the solution!
    To add link of a URL you need to have the binding with the BO of the transaction your are refering to. To do this, you need to bind your BO event (triggering event) to the workflow container and then the workflow container to task container. This BO value should flow from event-> workflow -> task container to get the link in the User Decision.
    To do the binding you need to follow the following steps:
    1. Go to t-code SWDD and open your workflow template.
    2. Go to Basic Data (cap sign button at the top of the screen) or click Ctrl + F8
    3. Go to Start Events tab.
    4. In the Object type enter your BO name (BO for the transaction you need to add as link), in Event of object enter the BO event. This would serve as the triggering event for your workflow.
    5. Click on 'B' i.e. Binding Defined, click on generate automatic binding. It would automatically generate the appropriate binding for the workflow. You can also alter the binding as per requirement. This binding would ensure that the URL comes under 'objects and attachments' section.
    6. Click on 'C' i.e. Start Condition. A dialog would open, select the appropriate start condition for the workflow. Check the condition before saving (recommended).
    6. Click on 'A' to Activate the binding and start condition. All 'A', 'B' and 'C' would get green.
    7. Save the changes made and activate your workflow.
    8. Do the binding between the workflow and the user decision step. Select automatic binding (recommended).
    You can also refer to the similar thread that I had provided solution to. This would help you resolve the issue!
    Re: URL of site has to be attached along with the mail
    Hope this helps!
    Regards,
    Saumya

  • Can a workflow steps and users for the steps be controlled by contributors?

    Is it possible to have a workflow that allows contributors to select list of steps and users in the steps? The universal set of steps and users for steps can be defined in the designer mode. But the contributors can decide for a particular content item what steps need to be skipped and the users for the step. But atleast one approver step is mandatory. This is some strange requirement that our client is expecting. Is this possible?
    Regards,
    Pratap

    Hi Pratap,
    Short answer: Yes. This has been possible since the Stellent 5.x days (and possibly earlier). We can help you with this if you need services - see our Workflow offerings here: http://bit.ly/b2Ydv6
    Or you can do it yourself. For the details you should see "Setting Up Ad Hoc Step Users" in the workflow admin guide (pp 147, section 9-13) http://download.oracle.com/docs/cd/E10316_01/cs/cs_doc_10/documentation/admin/workflow_guide_10gr3en.pdf
    Remember that a "step" is just a container for a certain group of users to take action on certain kinds of content. So you can have one step but if you loop over it 3 times with a different set of users each time you have a defacto 3 step workflow.
    You need 2 things:
    1) the workflow plumbing for the selection of the next "step" (and/or group of users) in the workflow (tokens and subworkflows typically)
    2) a UI for the end users / contributors to actually make the selections.
    For 1) you use tokens that will ultimately resolve to a list of user names who should take action. You might use names (e.g. bcripe) or aliases (e.g. The Legal Team) or other concepts that make sense to the end users who will be participating (e.g. capital expenditure review). Whatever you do the tokens will ultimately yield one or more user ids which become the step users.
    For 2) you can use anything that will make those plumbing values available to the UCM workflow engine. Most common is using metadata fields. They're easy, can be displayed only during workflows (using rules and profiles), and fairly intuitive for most UCM users (if there are not too many!!!). However, you can just as easily write web services, BPEL tasks, or CIS integrations that take form or other triggered input from the user and pass those parameters back to the workflow engine. For more complex workflows this is often a good idea especially if you are dealing with people who are only casual users of UCM or who are interacting with content through another primary UI.
    Either way, let us know what we can do to help. Workflows are a special passion to us here at Fishbowl and we've got supported software to prove it. http://bit.ly/95Rocu
    Warmly,
    Billy Cripe
    Fishbowl Solutions

  • Manually Added Adhoc Approvers disappears when change the Schopping Cart

    Hi All,
       We are facing a problem in the Shopping Cart , whenever we are login in to the change mode of check status the manually added approver get disappears.Any point on this will be highly appreciated.
    Regards,
    Mahesh Mohan D

    Hi,
    We are manually adding the users , the system is not determining the approvers for some of the cost centers this is basically for giving the option for user to select his/her approver . Here we are manually adding the two levels of approvers .
    For the manual approval case we are using Adhoc-Approval workflow.
    We have a scenario for a particular account assignment category, the approvers are not determined through the n-step approval badi but are added manually in the approval preview.
    In the case when requisitioner changes any data in the shopping cart which is in awaiting approval or which is rejected by any approver and present in requesitioner inbox, the manually added approvers are disappeared and no approvers are displayed in the approval preview and when the workflow is retriggered with no approvers.
    Is there anyway we can store the manually added approvers in the case when the requisitioner changes the cart.
    Thanks And Regards
    Mahesh Mohan D
    Edited by: Maheshmohan D on Nov 18, 2008 9:44 AM

  • Ucm: displaying some fields on a profile based on a workflow step

    Hi,
    Is it possible to hide/display some standard/custom metadata fields on a profile based on a workflow step/
    e.g. I am having a workflow with 3 steps
    1. manager step
    2. specialist step
    3. reviewer step
    On the 3 step, a reviewer can decide calling an adhoc workflow if he updates some custom metadata fields(adhoc rev1, adhoc rev2). My requirement: Is it possible to show the custom metadata fields only to reviewer on updating the content item. It should not get displayed while checkin the content item or any other step users update the content item.
    thanks

    I had a similar question some times ago - see this thread: Value of dpAction
    Yes, you can do it, but you will have to define rule activation conditions properly - using dpAction and dWfCurrentStepID.

  • Workflow steps

    Hi ,
    Can someone pls tell the steps ( preferably detailed) to create a workflow in MDM .Here is the simple scenario :
    1. User A adds a record say Product name .
    2. User B approves the records and then only this record should be available in the repository .
    How do I achieve the above and what settings  i need to perform .
    I have MS Visio installed

    Hi Amit Jha,
    Kindly follow the steps the achive your scenario.
    1. Select workflow table in the Data Manager and create a new workflow.
    2. Give workflow name (Ex: Create record approval) and other details set the Trigger action to "manual".
    3. Click on the browse button in the property named Workflow. It will open the MS Visio prespective.
    4. Create a work flow as defined below
    Start -> Process -> Approve->stop
    5. Change the property of the steps Approve and Stop as follows to make the workflow meaningful.
    Approve
    Name - "Send for Approval"
    Assignee user - say "MDUser" (User who send the added record for approval) remove other users to avoid confusion.
    Stop
    Name - "Add record in the MDM"
    Assignee user - say "MD_Manager" (User who approves) remove other users.
    6. Save the workflow.
    7. Execute the add record and approve scenario as follows
    a. Login as "MDUser" in the datamanager. Add a record, right click on the record, select workflows -> Add to job->  Create record approval (Workflow name) from the context menu.
    b. select Workflow tab in the properties. Select the workflow (Status is Unlaunched) and launch the workflow using the launch option from the context menu.
    c. The status will now change to received. Using context menu select "Next Step" -> "Send for approval".
    d. Now Login as "MD_manager". Go to workflow tad in the properties. You can find a workflow job with status "received". Click on the workflow job, you can see the record(s) assigned to the workflow in the record pane.
    e. Select "Next step" -> "Add record to MDM" from the context menu of the workflo job.
    You can add one or more records to a workflow job. Also try adding some validation in the workflow steps. Refer Data manager refernce guide for more details.
    Now I am done with the process of creating and executing the workflow for your scenario. Hope this helps.
    Regards,
    Arun prabhu S

  • Issue with a workflow step- BO used: BUS7051

    Hi All,
    We have a requirement where we are adding a step in a workflow as we want  PCR(Process change request) form to get dispalyed to a user's inbox(SAP Business workplace, Workflow inbox) and then proceed with the usual flow of the workflow.
    To dispaly the same we are using the method "display" of standard BO BUS7051.
    When i am testing the workflow thro' R/3, the user gets the workitem in his SAP Business workplace Inbox, he is able to view the form properly and then its moving onto the next step.
    But when i am testing the same thro' Portal, the workitem comes to the user's Workflow Inbox,form is getting displayed properly for the first time but again when the user opens the form he is getting the msg " workitem locked by user...enqueue error".
    Can any one plz help me out in resolving the same.
    Regards,
    Richa Sinha

    Hello,
    Should not have any issues as method display calls Tcode IQS23 and hence lock entry issues should not arise.
    Vish

  • Calling Adobe form in a Workflow Step for approval

    Hello,
       There are some ISR forms and workflows in MSS which use Workflow tasks configured as JavaWebDynpro to call Adobe form from the Workflow Step.
    Is it possible to achieve the same using ABAP Web Dynpro and creating a new task and configuring to use it as an ABAP Web Dynpro (which can in turn call the Adobe form from the WD)?
    Thanks.

    Hi Anjali,
    1)You can develop an<b> RFC</b> that collects required basic data from R/3 and display them in <i>ABAP WD - Adobe Form</i>. The End user can change/fill the remaining contents of the Adobe Form and submits it for approval. The <b>RFC</b> again handles the triggering part of the <b>Workflow</b> and passes the form data to the workflow containers.And for approvals, you can use the <i><b>SWFVISU</b></i> to call a <b>ABAP WD</b> application from Workflow. And in turn the control again goes back to RFC and so...
    2)I dont have much idea in ECC 60 if there is a similar ABAP WD application like Standard Java WD <b>IsrFormApprove</b>.
    3)No idea.
    Regards,
    <i><b>Raja Sekhar</b></i>

  • Can I create an HCM Form without involving any workflow steps?

    Hi Experts,
    Can I create an HCM Form without the involvement of any Workflow steps ? I tried to create a simple form to save the User id( IT0105) of a person. I tried to simulate the process through program RPASR_TEST_PROCESS_EXECUTION. But, finally it failed saying "No workflow assingned. Process not successfully completed" . How should I proceed if I dont want any workflow steps to be included?
    I just want the form to update the infotypes directly when I save.
    Pls advice,
    Thanks in advance!
    Mahesh

    Yes. This is undocumented for some reason (I learned it from SAP folks! haha). Set the workflow to:
    NO_WORKFLOW
    You're welcome. haha

  • Workflow Steps send automatic emails, but this is not required..??

    Hello,
       we have a strange problem we got recently with our workflows steps we are using.
       The Workflow Steps and Workitems works all just fine, the Issue is that some times the trigerred Workflow Steps automaticly send an an external email to the User outlook with the Wokitem Text & Description, i dont remember that i have activated any thing to send email in the Workflow steps we are using...Please help and advice why this emails is sent out and how we can deactivate it.
    We are using the standard SAP Performance Management Workflows, Example WF-Step: TS12300110.
    Thanks and Kind Regards,
    Nazih

    Again, i would like to clarify some thing here:
    1. The Workflow Tasks we are using in out Process are working just fine.
    TS12300110
    TS12300111
    TS12300115
    TS12300112
    TS12300096
    2. In this SAP Workflow Tasks, there is no step which send an email to the WF-User.
    3. To send an Email to user we can use the Reports RSWUWFML mor RSWUWFML2 as you mentioned, i know this well and yes they are planned in the System with a Variant, but which does not include our Workflow Tasks in it. and also the Report RSWUWFML is planned to run once a day in the evening, but we are getting the Emails directly after triggerring the WF-Tasks...strange?
    4. I have checked the Tcode SWE2 and found one entry to the WF we are using:
    BOR-Objekttyp     APPR_DOC     INFO_APPRAISER_CHANGE_APPROVE     WS12300115
    If i deactivate here i will shut down the Workflow ..right?
    Thanks & Regards,
    Nazih

  • Monitoring the workflow steps in SAP EP7

    Hello,
    I'm using Travel Management in SAP EP7. When users send a expenses request, workflow is triggered. I need to show users where workflow is in certain moments. I mean, in which step the workflow is. Please, how can I do it?
    Thank you

    Normally in webdynpro application or using floor manager framwork we use roadmap pattern to display status of workflow......travel managemnt based on webdynpro?
    Koti Reddy

  • SharePoint 2013 Workflow Steps

    Hi,
    Here is my scenario for which I am looking to set up a SharePoint workflow in SPD designer. Please see the details.
    1) The workflow should be initiated as soon as an item is created.
    2) There is a field in the List called "Assigned to" and an email notification must be sent to this user with a task assigned to him with a link to edit the item that initiated the workflow.
    If the user choose a status of "Not Started" or "In Progress" the notification should continue to remind the assignee until the status is set to "Completed". 
    Status should be a field in the SharePoint list that can be used to sort the items.
    Can anyone help me with Workflow steps for this scenario?
    Thank you
    techie

    Hi Techie,
    Steps:
    1) Create a workflow and set the workflow to be started on Item Created and modified.
    2) Insert Conditional activity If Status not equal to "Completed".
    3) Insert Action activity Send Mail notification to "Assigned To".
    Save and Publish the workflow.
    This workflow will get initiated when item is created and send notification mail if status ="Not started" or "In Progress".
    This workflow will get initiated when item is modified and send notification mail if status ="Not started" or "In Progress".
    This workflow will get initiated when item is modified and send doesn't notification mail if status ="Completed".
    Best Regards,
    Brij K
    http://bloggerbrij.blogspot.co.uk/

  • AppleScript to skip Automator workflow step - when no files are provided

    My current Automator workflow:
    Get Specified Finder Items (path to folder auto-populating with images from a camera)
    Get Folder Contents
    Sort Finder Items - by Creation Date in descending order (gets oldest item first)
    Limit Number of Items - Limit to First 1 items
    Move Finder Items (If no items are passed to this step skip it)
    Loop - Automatically; Stop after 20 minutes; Use the original input
    What I am trying to accomplish:
    I'm trying to write an AppleScript to skip the "Move Finder Items action" when it is not supplied with any files (from the previous workflow step), moving on to the next step which is a loop to begin my workflow again.
    Big picture:
    I have a workflow, where I am moving files from one folder to another folder (one at a time). When the input folder is empty, Automator comes back with "No item references were passed to the Move Finder Items action (-50)"; which it should - because it is not passed any files. I would like to ignore this error (or skip this step) and continue with the workflow if no files are provided to the "Move Finder Items action". I currently have an AppleScript (see below) that stops the workflow when this error occurs, but I would like to have this flow continue, not stop.
    AppleScript:
    on run {input, parameters}
              if input is {} then error number -128 -- 'user cancelled'
              return input
    end run
    Please help me create a script to skip this step, or to restart the Automator workflow when no files are passed to  the "Move Finder Items action".

    I'm not aware of a way to do this with a workflow saved as an application, but Automator is scriptable, so you can manipulate a workflow document.  For an example, build the follwing workflow:
    Ask for Text (just to get some input)
    Run AppleScript:
    on run {input, parameters}
      set currentAction to index of current action of front workflow -- the most recent completed action
      if input is {} then -- if no input then disable the following action
        tell Automator action index (currentAction + 2) of front workflow to set enabled to false
      else -- enable it
        tell Automator action index (currentAction + 2) of front workflow to set enabled to true
      end if
      return input
    end run
    Ask for Confirmation (just to show a dialog when enabled - this action will be enabled/disabled based on the text input)
    Loop
    You can also use action names, but I think it is less confusing to use indexes, since names can be edited and an action can be used more than once.

  • Pass values between two workflow steps.

    Hi,
    I have requirement to pass values from one workflow step to another workflow step .
    1. In workflow step 1 , we have created dynamic user group.
    2. I need to get user group name in another workflow step.
    Thanks
    Ravindra

    First of all if you want to pass custom property to next step then you have to customize the current and next step (if you can it as process step). As of now i can think of one approach by setting up value in meatdata of next route as below in your execute method (if there is only one next step not with "and" or "or" condition otherwise you have to use id or name to find out next step).
    first step
    List<Route> routes = session.getRoutes(item)
    Route route=routes.get(0);
    route.getDestinations().get(0).getMetaDataMap().put("key", value)
    session.complete(item,route);
    destination step
    MetaDataMap map=item.getWorkflowData().getMetaDataMap();
    map.get("key");
    You can try once to check if it works else check through session. Let me know if it doesnt' work for you.

  • Creating geniric user decission task step

    Hi Experts,
    As on date for user decission I just used the standard decission step available in the template but now the requirement is to use a custom generic task step.Can some help me in creating a geneiric user decission task step.I have copied the standard task TS00008267 but no idea how to get the buttons approve reject etc.Please let me know.
    Thanks and Regards
    Srini..

    Hi Srini,
    I guess you can copy the standard task TS00008267 and add your specific task description.
    Then you can create a user decision step in your workflow and use the new task in the same.
    Hope this helps!
    Regards,
    Saumya

Maybe you are looking for

  • Is there any way to re-download something on iTunes?

    I downloaded an LP from a new album, but one of the bonus videos that came with the album is skippy and I think it might be because I paused the download on the LP and that might have messed it up. Is there any way I can download it again, seeing as

  • How to delete "Open Menu" tool.

    Just upgraded to the latest version. An 'Open Menu' tool appeared at the end of the tool bar that I can not get rid of. Also, the bookmark tool is now two icons instead of one. Would like to return to just one icon.

  • Automatic resolution settings

    This has been driving me crazy. Ever since I bought Photoshop CS5, when I bring an image in, it makes the resolution an arbitrary number (usually under 5ppi) and the size something crazy high. So I have to go in and manually adjust it to 300 or 72 or

  • Spreadsheet data structure

    Hi,anybody knows which data structure(s) is/are/should be used while making spreadsheet type application?Array seems to be impossible.For example lets assume we want to make simple spreadsheet application(say 1000x1000 size).User enters some integer

  • Metadata On Mac's

    Hi Apple Users. I feel like I'm behind enemy lines... but I'm hoping you guys can help me out. I'm an I.S Tech at a company in New York, and have recently been delegated to be the "Mac Guy," even though I come from a totally Windows background. My co