on 10-20-2015 3:01 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Harsh,
I read that note. It all seems quite complicated to me.
One thing i noticed yesterday, when trying to make this work is that the task container has the element WORKITEM which is a BOR object WORKINGWI, whilst in the workflow container the element _Predecessor_WI is a BOR object WORKITEM.
WORKITEM has far fewer fields than WORKINGWI, so maybe that explains some of the issues there.
However when i created the binding i did a check and it made no protests.
Anyway: as i explained in my answer to Rick, i created a custom element in my workflow container of type BOR object WORKINGWI and did the binding from taskcontainer to it.
That works.
Regards
Robert
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.