Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Workflows : Objects & Attachments @ User Decision Step ?

Hi pple,

As Ramki said,I was able to create a link in the OBJECTS and ATTACHMENTS part for a normal Activity step.

But now my requirement is to create a Link at Objects and Attachments part in USER DECISION Step. Can I do so?

I tried copying the DECISION BO to ZDECISION and copied the the standard Decision task TS00008267 to my task say..TS97900168 with my BO ZDECISION, Now when I tried to include this task in the WF User Decision step, I am getting an error that I cannot include any other object other than DECISION BO.

I thought of creating a ZDECISION Business Object and change the Default method of this BO. But I am not able to include a Z Business Object in the USER DECISION Step itself.

Is there any way of instantiating the Objects and Attachments part with our own Attachment of the USER DECISION Step.

Please let us know.

Regards,

Raja Sekhar.

Tags:
Former Member
Former Member replied

An object instance must be available in the WF container before the decision task. If your workflow is triggered by the event BUS2038.Created, the event binding should bind the specific BUS2038 instance to a WF container element based on the same object. If your decision task has a container element based on BUS2038, you can now make the WF to Task binding. When a WI is created for the step, you will have a link to the BUS2038 instance in the WI display.

The wizard is in txn SWDD or you can also create your own task based on object method SYSTEM.GENERICINSTANTIATE. I must warn you though, if the object has a multipart key, you must come with the mechanism to build the key into a simple (single) container element to pass it to the task.

Cheers,

Ramki Maley.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question