I have created a workflow, say "My Asset Ingestion workflow". When I select that asset and click create workflow, I see a list of workflow options available. However it is expected that the already initiated workflow should be disabled.
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
This is not available OOTB because user can run multiple instances of workflow simultenously.
To achieve same for your requirement you can write js to hide/disable wf models.
Below returns create workflow dialog and append in existing DOM when clicking on create workflow button . You can write one more event to check workflows and delete/disabled selected based on results.
http://localhost:4502/mnt/overlay/dam/gui/content/commons/createworkflowdialog.html?_=1550505362156
below will provide the workflow timeline status where item parameter in query string holds the path of assets.
Could you share more details about your use case?
Do you mean that already initiated workflow "instance" should be disabled?
Views
Replies
Total Likes
Do you want to hide the workflow?
Views
Replies
Total Likes
Hi,
This is not available OOTB because user can run multiple instances of workflow simultenously.
To achieve same for your requirement you can write js to hide/disable wf models.
Below returns create workflow dialog and append in existing DOM when clicking on create workflow button . You can write one more event to check workflows and delete/disabled selected based on results.
http://localhost:4502/mnt/overlay/dam/gui/content/commons/createworkflowdialog.html?_=1550505362156
below will provide the workflow timeline status where item parameter in query string holds the path of assets.
Views
Likes
Replies