Show a link to a created asset after a workflow ends
execution.setVariable("outputCreatedTermId", uuid2String(newAsset.getId()))execution.setVariable("outputCreatedTermId", "0194ac1e-013e-7667-bdaf-e007ae797c8a")Last updated
Was this helpful?
After a custom workflow creates an asset, the user stays on the page where they started the workflow with no direct link to the new asset. You can improve this experience by making Collibra show a link to the new asset in the notification in the upper right corner of the screen.
To do this, add a script task at the end of your workflow that sets an execution variable named outputCreatedTermId with the new asset's UUID as a String:
execution.setVariable("outputCreatedTermId", uuid2String(newAsset.getId()))Replace newAsset with the variable that holds the result of the API call that created the asset.
If you already have the UUID as a String, you can pass it directly:
execution.setVariable("outputCreatedTermId", "0194ac1e-013e-7667-bdaf-e007ae797c8a")Last updated
Was this helpful?
Was this helpful?