Skip to Content

SAP UserDecision Workitem

Hi,

say if I have a UserDecision step.

On reject it goes to next Activity step that has a task which has a method.

Now if I want the workitem-id that got generated in the UserDecusion Step, how do I get it to my next activity step?

I did binding from UserDecision

(_workitem_workitemid -> task_wid)

(wf_wid <- task_wid). On doing this I am getting the PARENT wid and not UserDecision id.

Is something wrong or have to use *worklist FM by passing the task-id (which I dont want to).

Aditya V

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Aug 09, 2017 at 10:04 AM

    Hi Aditya,

    I just tried to create a sample workflow to check if i can get the predecessor work item ID. Yes you can get the previous task work item ID by using the standard business object which is available in the workflow container _PREDECESSOR_WI Previous Work Item

    I have the mail body populated with decision step work item ID.

    Thanks, Pavan

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 08, 2017 at 01:37 PM

    hi,

    Workitem id of workflow step is in _workitem.WorkitemId

    Kind regards, Rob Dielemans

    Add comment
    10|10000 characters needed characters exceeded