2 Messages
•
800 Points
workflowDefinitionApi.exists doesn't seem to work
import com.collibra.dgc.core.api.component.workflow.WorkflowDefinitionApi
def lUUID_WorkflowDefinition = string2Uuid("018faa93-cd51-76fd-b278-674117e56452")
def lb_WorkflowExists = WorkflowDefinitionApi.exists(lUUID_WorkflowDefinition)
gives me an error on definition of .exists .....
Am I missing something ?
error:
Message: org.flowable.common.engine.impl.scripting.FlowableScriptEvaluationException: groovy script evaluation failed: 'javax.script.ScriptException: groovy.lang.MissingMethodException: No signature of method: static com.collibra.dgc.core.api.component.workflow.WorkflowDefinitionApi.exists() is applicable for argument types: (UUID) values: [018faa93-cd51-76fd-b278-674117e56452]
stefan_busch
93 Messages
•
1.2K Points
5 days ago
Hello,
you need to change the line "def lb_WorkflowExists = WorkflowDefinitionApi.exists(lUUID_WorkflowDefinition)"
to "def lb_WorkflowExists = workflowDefinitionApi.exists(lUUID_WorkflowDefinition)"
1
0