I'm facing the following problem:
Existing workflow has a parallel step, depending on decision step before
Left lane: Activitiy Workitem starting dialog task in SAP-GUI
Right Lane: Activity Workitem starting Webflow in Webdynpro
The new challenge is now to "exceute" the workitem by RFC.
Getting the data and additional information out out of the workitem by reading the object key in the container and pass the data to remote user is no problem. To write back the remote users relevant container values (decision, amount..) is also no problem with SAP_WAPI_WRITE_CONTAINER. Updating the business data out of the users "remote input" is no problem, too. But I don't know how to execute the WI after the RFC logic has run and workflow goes on and find next step depending on the new container values.
To clearify this a little bit. The RFC should bypass the business logic which is in the method of the workflow task as usual. I tried with SAP_WAPI_SET_WORKITEM_COMPLETD but this stops the workflow at this point.
Any suggestions appreciated,