Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Workflow code can not access properties that are on node

Avatar

Level 4

We have a workflow that is launched when a node is created in UGC after a form submission.

The workflow is launched, the code receives the workflow item normally for processing

The properties associated with the form submission on the UGC node are present but not available to the workflow code.

The properties are on the node, but accessing the properties indicates they are not available during the launched workflow.

We can run the workflow manually, and the processing works as expected. All the properties are available.

Looking for suggestions on resolving this issue.

Thanks

1 Accepted Solution

Avatar

Correct answer by
Level 9

Hi Tom,

   The suspect would be either session Or payload path is different when workflow is launched vs running manually. Hence seeing different behaviour.   In your workflow process log the session & payload path and compare against launched vs manually should give you a clue what is happening & fix accordingly.

Thanks,

View solution in original post

1 Reply

Avatar

Correct answer by
Level 9

Hi Tom,

   The suspect would be either session Or payload path is different when workflow is launched vs running manually. Hence seeing different behaviour.   In your workflow process log the session & payload path and compare against launched vs manually should give you a clue what is happening & fix accordingly.

Thanks,