For the complete documentation index, see llms.txt. This page is also available as Markdown.

Alternatives to API v1 delegates

This section provides examples of alternatives to Java Core API v1 delegates.

AddAttributeDelegate

API v1
<serviceTask id="servicetask1" name="Add attribute" activiti:class="com.collibra.dgc.core.workflow.activiti.delegate.attribute.AddAttributeDelegate">
  <extensionElements>
    <activiti:field name="value">
      <activiti:string><![CDATA[attribute content]]></activiti:string>
    </activiti:field>
    <activiti:field name="ownerId">
      <activiti:expression><![CDATA[${item.id}]]></activiti:expression>
    </activiti:field>
    <activiti:field name="typeId">
      <activiti:expression><![CDATA[${givenAttributeTypeId}]]></activiti:expression>
    </activiti:field>
  </extensionElements>
</serviceTask>
API v2
<scriptTask id="scripttask1" name="Add attribute" scriptFormat="groovy" activiti:autoStoreVariables="false">
  <script><![CDATA[
    import com.collibra.dgc.core.api.dto.instance.attribute.AddAttributeRequest;
    def attribute = attributeApi.addAttribute(AddAttributeRequest.builder()
        .assetId(item.id)
        .typeId(string2Uuid(givenAttributeTypeId)))
        .value("attribute content")
        .build())
    execution.setVariable("output", attribute)
  ]]></script>
</scriptTask>

GetAttributeDelegate

RemoveAttributeDelegate

AddRelationDelegate

GetRelationsDelegate

RemoveRelationsDelegate

AddResourceRoleDelegate

RemoveResourceRoleDelegate

AddTermDelegate

GetTermDelegate

RemoveTermDelegate

AddComment

AddDecisionVote

ChangeIssueResponsibleCommunity

ChangeStatusDelegate

StateChanger

CountVoteResult

CreateIssue

CreateVotersList

GetModel

API v2

This delegate is not supported and there is no alternative or possibility to use it.

GetRelatedTerms

GetRelatedTermsDelegate

GetUserNames

MailSender

ProvideDefaultsDelegate

StartCollibraConnectFlowDelegate

StartWorkflowInstanceDelegate

TermIntakeDelegate

Last updated

Was this helpful?