Skip to Content
0
Former Member
Jun 10, 2009 at 03:12 PM

Object created in method passed to _ADHOC_OBJECTS

213 Views

Hi All,

ECC 6.0, I have a workflow that starts with a decision step where the user chooses what type of object he wants to attach to the workflow: DOC, PDF, XLS.

Based on the decision the method of the next activity step first displays a file selection window where the user can choose the file he wants to attach. The chosen file is then put on a content server (archivelink) and then an IMAGE object is created in the method with swc_create_object using the archive ID and archive document ID just created. The IMAGE object is the passed to a multiline container element of type IMAGE in the workflow container.

This way the user can attach as many files in IMAGE objects to the workflow as he wants. All subsequent attachments are available in the ADHOCOBJECTS container element of the workflow hence can be displayed in the next steps.

Now the problem.

I reworked the workflow a bit to decrease the number of container operations and branches. Neither the decision step nor the IMAGE creation step has changed, all bindings are the same. In spite of this, the IMAGE objects are not transferred to the ADHOCOBJECTS container element of the workflow from the IMAGE object creation task anymore. I compared the two workflow definitions and just could not find any place where they are different.

Are there any rules how simple objects created in the method with swc_create_object are passed to the ADHOCOBJECTS container element of the workflow?

Thanks

Krisz