ChangeStatus delegate
Field name
Required
Description
<scriptTask id="scripttask1" name="Mark as Accepted" scriptFormat="groovy" activiti:autoStoreVariables="false">
<script><![CDATA[
import com.collibra.dgc.core.api.dto.instance.asset.ChangeAssetRequest
String acceptedStatusId = "00000000-0000-0000-0000-000000005009"
assetApi.changeAsset(ChangeAssetRequest.builder()
.id(item.id)
.statusId(string2Uuid(acceptedStatusId))
.build())
]]></script>
</scriptTask>Last updated
Was this helpful?