Finds tags for an asset
I am trying to find assets for a given asset Uuid via Script task within a workflow
However I got an error
abhishekchand_raja
Posted 3 years ago · Edited 1 year ago·Last reply 3 years ago
2 comments
I am trying to find assets for a given asset Uuid via Script task within a workflow
However I got an error
abhishekchand_raja
OP3 years ago · EditedHey… Thanks for the help. Issue is resolved now
Young Wook Baek
·3 years ago · EditedDrop the import statement as TagApi is already instantiated and available via tagApi variable.
You script then should be just
def KPITags = tagApi.getTagsByAssetId(asset.getId())