Skip to Content
avatar image
Former Member

Predecessor Workitem

Hi

I have a question regarding the workflow container element Predecessor Workitem.

I want to use it in the following scenario. I have a user decision and in one branch from that decision a sub workflow is called.

In the sub workflow i need to get the work-item ID from the User decision step.

I tried to do binding from UD task container to WF container and from WF container to SubWF container but it comes up empty. This, i read, is because these are elements from the container that are done by the system.

I've also read quite some notes on the subject. But none are very clear on how it should work.

So my question is:  how should i then get a value in the _Predecessor_WI field in the Workflow container?

Regards

Robert

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Oct 20, 2015 at 04:23 PM

    Hello,

    I've never noticed that container element before. Indeed, you can't fill system container elements yourself. Why not create your own container element and fill it with bindings yourself?

    regards

    Rick

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hello Rick,

      I already did as you suggested, and it works (well it would, wouldn't it?)

      On second thoughts i was wondering why i would not be able to do the binding, even it is a propietary SAP element.

      I mean: i can do binding to _ATTACH_OBJECTS can't I?

      (I cannot change it's properties, but i can bind a SOFM to it)

      Anyway: i fulfilled my requirement.

  • Oct 21, 2015 at 06:09 AM

    Hello Robert,

    Please find and check SAP NOTE 903692.

    It mentions detailing on using the _PREDECESSOR_WI work item.

    Let us know if you find the solution.

    Regards,

    Harsh

    Add comment
    10|10000 characters needed characters exceeded