Forum Discussion
Hi Florian,
I think the issue you're running into is that the ItemType property on your Promotion is set to Life Cycle State. This property should be set to the ItemType that should be promoted, in this case Document. Making that change and testing the workflow on a new Document should be enough to see the behavior you're expecting.
I also see a problem with the way the Workflow and Life Cycle are currently designed. You have the Workflow property on your Reviewed Life Cycle State set to the workflow that you created. What this property does is launch the linked workflow when the item is promoted to that Life Cycle State. When a Document is promoted to Reviewed, it will launch the workflow, but the workflow is also set to promote the Document to Reviewed.
A potential workaround for this would be to clear the Workflow from your Reviewed Life Cycle State and simply have the Workflow launch when the item is created by setting the Default flag on the workflow relationship of the Document ItemType.
Chris
Christopher Gillis
Aras Labs Software Engineer
- Florian127 years agoIdeator I
Hello Chris,
Thank you very much for your help and quick reply! I'm glad to see it working now. I also followed your advice regarding the default setting. Alternatively, I will delete the workflow property in the Life cycle.