Comment in User Decision

Hi,
I have a step with a User Decision where the person executing can give type his comments in the Create button .And when he executes the Decision a Notification is sent to the next level.
At the next level the comments whatever he has written should be visible to him.
Any suggestions how to proceed.

By Create button i assume you mean that he is adding his comments as an attachment.
These comments will be sent back to the workflow container in the attachobjects container element .
If you want further steps of the workflow to see the comments, pass the attachobjects container element from the workflow to the task container .
The comments will then be available as a link in the next level
Regards,
Amit

Similar Messages

  • User Decision with Note - Where are comments stored?

    We are interested in using the "UserDecisionNote" property in our XML file for a User Decision workitem.  (This allows a comments text box when a user clicks accept/reject for example)
    How and where are these commens stored?  As an attachment?
    Thanks,
    Matt

    Sorry, I should have stated what our goals were.  We currently capture comments with an activity step right after a user decision step.  This happens as an immediate popup/dialog because of synchronous dialog chains in SBWP.  We may then put the comments in a subsequent email step, subsequent workitem text, or custom table. 
    You cannot do synchronous dialog in Universal Worklist.  So, we were investigating UserDecisionWithNote property of XML file for task.  However, it appears the comments are stored as an attachment and not passed as text back to Task/WF (which I'm hoping someone on this forum can confirm).  If they cannot be passed back as text and are indeed stored as an attachment, then in theory we need a way to get the comments out of the attachment.   I'm not aware if anything allows us to parse attachments, etc.
    Matt

  • Agents in the User Decision

    Hi Experts,
    We are implementing the Leave Request WF using WS12300111.
    We have a user decision step. This is for the HR admin to take a decision if a manual posting has been successful or not.
    There is already a rule 60100010 which has the responsibilities defined in it which define the possible agents who can execute this work item.
    Can i use this rule directly in the User Decision step? Is there any specific binding required for the same.
    If the user clicks on NO, then a pop up shud appear where the user enters his comments.This is a dialog step. In this case, can we use the same rule as the agent or is there any necessity to provide an agent.
    Kindlu let me know regarding the same.
    Cheers,
    Belinda Clarke

    Hi,
    You need to create the "LATESTAGENT" container element. But first take a look to the previous step. You can basically bind from task to the workflow the user who executed the step. If I remember correctly this element was "Agent". So, just bind it from the previous step into your new container element in WF container. Then use that as an expression the next step's agent.
    You can also use the rule as I explained in my previous answer. The above method is a bit better since than it forces the work item to the user who completed the previous work item. But if you are using the advance with dialog option, the rule will work as well.
    Regards,
    Karri

  • User Decision Step in BPM - PI 7.1

    Hi All,
    I have posted a wiki for User Decision step in BPM in PI 7.1, Please go through it and post your queries, suggestions and comments here.
    The link for same is under:
    Part1 - https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/userDecisionstepinSAPPI7.1-Part+I
    Part2 - https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/userDecisionstepinSAPPI7.1-Part+II
    Regards,
    Sachin

    Hi Sachin,
    Nice job,
    During my practice on this scenario. I have got an error please kindly guide me on this, may this error also clear for the others
    *I got an error on SXI_MONITOR as:*
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="BPE_ADAPTER">UNKNOWN_MESSAGE</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:Stack>No object type found for the message. Check that the corresponding process is activated</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    The trace of the error as:
    <Trace level="1" type="B" name="CL_XMS_PLSRV_CALL_BPE-ENTER_PLSRV">
      <Trace level="1" type="T">could not create BPE proxy for message, no XML object definition found for message 72485F6BFC78416A29EEE3EE10D09BCE</Trace>
      </Trace>
      </Trace>
      <Trace level="1" type="System_Error">Error exception return from pipeline processing!</Trace>
      <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST" />
    Please kindly guide me on this, Is the message has to validate at sender agreement? if not where is the error I am doing?

  • Note in user decision step

    Dear Experts,
    I have requirement to add a note in user decision step to allow the user to enter comments while approving or rejecting workitem in UWL. I have enabled the note using XML file. I read that this comments will be captured in workflow container element attachobjects. My requirement is to send the comments entered by approver to initiator via mail. Please let me know how to capture the comments from UWL note to send mail step.
    Br,
    Bharath

    Hi Rick,
    Thanks for your reply.
    I have got the attachments in container element attachobjects. Can you please tell me how to get the text entered by the user from this step because currently I have SOFM instance in hand. I am not sure how to convert this to some form and extract the user comments alone. Are there any FM that can help to do this.
    Br,
    Bharath

  • Issue with User decision handler in UWL

    Hi Friends,
      I am facing an issue with user decision hander in UWL. We have modified the XML file to show up the comments box to enter the rejection reason, this is working fine with two approval tasks already but the same thing is not working now with a new task id. In the back end(R/3) everything is the same for both the tasks, in the Portal side my portal consultant says the same. But we were not able to figure out the issue. I even created a new task and tried to use implement the handler changes, but still it is not working. Please advice what could be the issue

    Hi,
    can you elaborate what the issue, what do you mean by not working. you are not getting the reason box, or it's giving error,something like that.
    Hope we'll be more clear then about your requirement.
    venu

  • Custom User Decision for Class Method in Task

    Hi Expert,
    I have a screen for user decision(Approve/Reject with some comments field). When i execute the process it works fine for all cases, but when i don't click any decision and come back from the screen, then also this task gets completed and workflow starts executing next step. Here in this case, i want workitem to remain in inbox same as what happen in case of user decision step.
    Do i need to put this task in loop till i get a decision or some other way i can solve it? I have tried putting this method as Synchronous and non-Synchronous method. I am not sure if this issue is, because i am using Class method. Please help.
    Regards,
    Pritam
    Edited by: Pritam Kunal on Feb 11, 2011 4:28 PM

    Hi Mike,
    I have got a solution for this. If we make the task as Asynchronous task with a terminating event. Till the time event is not triggered process workitem will remain in inbox. This event can we triggered at any user decision only.
    Is there any flow in this logic? I have tried it for few cases and it worked, but not sure if there will be any case where it will not work? any suggestion?
    Regards,
    Pritam

  • User Decision Note:  Questions

    Hello,
    I have a couple questions regarding the user decision note:  I've configured our XML code for the use of a user decision note, and made it mandatory for the return and reject actions, However my User Decision Title for the comment box does not show in the UWL.. Iu2019ve included my code below.. Any suggestions as to what Iu2019ve done wrong.. Iu2019ve cleared the cache after uploadu2026
    Also, is there a way to configure the Message, that appears if you attempt to click the actions buttons that have the user decision note as mandatoryu2026the message appears at the top of the screen is very small font.. Iu2019d like to change the wording, and make it show up in a more noticeable location for the user.. 
    Thank you for your comments
    Don
    <Properties>
    <Property name="UserDecisionNote" value="true"/>
    <Property name="decisionKey" value="0001"/>
    <Property name="UserDecisionTitle" value="Enter a Return/Rejection Reason"/>
    </Properties>

    The syntax seems to be correct. I suspect the "/" character is causing the problem.
    Try using:
    <Properties>
    <Property name="UserDecisionNote" value="true"/>
    <Property name="decisionKey" value="0001"/>
    <Property name="UserDecisionTitle" value="Enter a Return or Rejection Reason"/>
    </Properties>

  • Can we display custom error message in user decision step screen.

    Hi,
    My requirement is to display error message when approver selects reject button in user decision step.
    based on some condition i need to display error message in user decision screen when approver tries to
    reject .
    Please help
    Thanks,
    Phani

    Hi ibrahim,
    Thanks for your Replay.
    steps
    1. cretae global class with interface  IF_SWF_IFS_WORKITEM_EXIT.
    2. cretae Event with importing parameter.
    where i need to call EVENT_RAISED method ,do inned to call that method in
    IF_SWF_IFS_WORKITEM_EXIT ?
    how  SWRCO_EVENT_AFTER_EXECUTION value is passed to method EVENT_RAISED ?
    Thanks,
    phani

  • Sending Mail with attachment like User Decision

    Hi,
    Is there any way to send the document attached with the send mail step ? In User Decision, we can use binding between the workflow and task and document is attached. Like wise, is there any method ??
    I know we can send the attachment using the FM SO_****. So don give that answers. I want to know without using the FM, is it possible or not ?
    And i don want to use BO SOFM.
    For example, in Project Definition, one person creates a milestone. WF is triggered and goes for attachment of concorrence note. One attaches the concorrence note and mail is send to initiator. In that mail, can he able to see the attachment ??

    As far as I know the answer is "probably". You aren't saying how the mail is sent to initiator, you just say you don't want to use the FM or the BOR object type SOFM. I assume you are using the standard sendmail step type, i.e. BOR object type SELFITEM with method SendTaskDescription.
    As I am sure you can imagine, an attachment doesn't magically appear. If you send a workflow step (task) to someone, you can bind attachments to make them available in work item display. If you send a message you can construct it with attachments, but that doesn't happen without any effort. If you look at the parameters for SendTaskDescription you will see that there is a parameter for attachments. Try passing (binding) a value to it. If your SendMail task doesn't include that parameter as importing parameter you will of course have to fix your task (TS object) first.

  • Container Operation step in User Decision

    Hi,
    I have used one set container operation step in one of the user decision task. But it seems it is not working inside the user decision step.
    I have checked the SWI1 log as well, but it is bypassing it.(screen shot attached from Workflow and SWI1).
    Please sugegst that can we use container operation step inside the user decision task.
    SWI1 log as well ( Not setting the variabl)e
    Regads,
    Priyanka

    Hi,
    check if in the workflow definition you mention if this step should be shown in the log or not. Also make sure using the technical details option in the workflow log that indeed the container operation was executed or not.
    If everything seems correct, but still in execution it skips something, then your workflow definition might be corrupt, either fix it by deleting the step in development, saving it and then recreating it. Or if it was corrupted after transport you could try your luck with function module SWD_REPLICATE_FROM_9999.
    Kind regards, Rob Dielemans

  • Step for User Decision

    Hi All,
    I have a scenario and two solutions for it.
    Please give me the input for which is a better solution and why.
    Scenario - Approver have to either Approve/ Reject a particular request made.
    The user decision has to come from Java front end  and the workitem created has to be executed externally
    ( not by opening sap inbox)
    Soln 1 : Create an asynchronous task and custom terminating events for the workitem and trigger terminating event for any user decision Approve or Reject.
    Soln 2 : Send an normal decision task and programatically execute one of the decision using the WAPI* FM when user clicks Approve/Reject.
    Both of them I think uses the WAPI * FM.
    Thanks
    Chandran

    Sorry I was not clear in my question before.
    I still refered to the first solution which uses a Aysn Task and a method which does not have any code (just a placeholder)
    IA is absolutely right but I dont have the flexibilty to use an ivew.
    Thanks a lot for your reply. I would close up this thread.
    Just some additional clarification if you can bring up
    What additional code that would be required for the second solution (both uses a sap WAPI FM )
    Both can be tracked by WF tools by finding out the agent and the person who have completed the Workitem so which tools you were mentioning about
    Actually I did not get which is a better solution but realized both can be used atleast no worry on the performance load. My be this topic can go for a long time to figure out
    Regards,
    Chandran.

  • Container variables in User decision Step in BPM

    Hello,
    I am using User decision Step in BPM.
    When i use only text in "Title for Display" the BPM is activated successfully and Status in SXI_CACHE also shows 0.
    If I use container variables in "Title for Display" the BPM is activated successfully but status in SXI_CACHE shows 99.
    It shows the below error
    "Problem updating an integration process with object ID 073AF2C620F43E839B2903344DEE29BB. Symbol 'CE/KO' expected at position 1 in expression ''
    Please suggest.
    Thanks,
    Shabari

    Hi Shabari, did you follow the steps for declaration of variables as in [SAP help for user decisions|http://help.sap.com/saphelp_nwpi71/helpdata/en/42/c2a19fb4511d65e10000000a1553f6/content.htm]? How did you define your variable?
    Maybe discussion [in this thread|BPM activation Error in SXI_cache; can help, it is unanswered though.
    Regards, Martin

  • Issue in User decision title in Email Notification

    Hi,
    We have used extended notification to send email notifications for PR, in User decision step I have used the decision title as "Purchase Requisition Decision for &". But when we schedule the SWN_SELSEN as a background job, in SOST email subject is not same as the User decision step title it is as "New work items in your Workflow inbox".
    Could you please let me know how to get the description same as User decision step.
    Thanks,
    Sriram.

    Hi Sriram,
    Please check General settigns of SWNCONFIG. Here check eliment 'SUBJECT_WF_INBOX'. Here its default value is NASWN070, which is nothing but the message of SWN class. Chcek Message No 70 of SWN class which states that ''New work items in your Workflow inbox'' which you are getting currently. Please provide your message instead of the standard one.
    Hope this will solve your problem.
    Regards,
    Smit

  • Work flow in error when executed with a user decision.

    Hi,
    I am executing a workflow for notification of absence. It has a user decision step to Revise the request or to withdraw it when the absence request is rejected by the approver. When I am executing this the workflow is going into error state. User decision step is not starting at all. The first two steps create notification of absence and check notification are getting completed successfully.
    Please let me know where I am going wrong.
    Thanks & Regards,
    Soumya.

    Hi,
    I believe the orginal poster is following the workflow tutorial in the sap help.
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/fb/135962457311d189440000e829fbbd/frameset.htm
    I'm following the instructions and pretty sure it's been followed exactly on each step but am hitting the same issue - see 'Unit 10 - third step'.
    The log is reporting two errors
    Work item 000000014093: Object FLOWITEM method EXECUTE cannot be executed
    and
    Error when processing node '0000000039' (ParForEach index 000000)
    You reject the notification and then the work flow errors.
    Can anyone help?

Maybe you are looking for

  • Motion 2 Will Not Open

    I have recently installed Motion 2 from Final Cut Studio Academic on my new Intel Mac. All the other programs in Studio run fine, but Motion 2 will not open. It gets to the screen where it asks to open a template or start a new project, and when you

  • How to use Time Machine with newly cloned source disk?

    I've got an iMac (10.6.8) which I'm using with a Time Capsule and Time Machine. Recently, the iMac's internal disk started to fail. Instead of going through the effort and expense of replacing it in a fairly old computer, I added an external FireWire

  • OS X refuses to shut down

    Anyone know how to shut down my imac? Aperture is frozen and won't stop. This prevents my system from shutting down. Anyone knows a solution?

  • Editing window doesn't open

    After opening iMovie there is no editing window. I cannot proceed because there is no window to work in. I can import, I can select New Movie, but nothing opens. I can't even find how to reload iMovie.

  • Can't open motion 5.02 doc in 5.03

    The automatic update for motion 5.02 to 5.03 has stopped previous created files from being opened. This is critical for any update - be able to open my projects in the new version of the software. What is the solution??