7 Messages
•
1.8K Points
Starting second workflow from workflow
I want to start a second workflow based on the user's input in a workflow. I get different errors (e.g. org.flowable.common.engine.impl.scripting.FlowableScriptEvaluationException) when starting the second workflow with the following script:
import com.collibra.dgc.core.api.component.workflow.WorkflowInstanceApi
import com.collibra.dgc.core.api.dto.workflow.StartWorkflowInstancesRequest
workflowInstanceApi.startWorkflowInstances(StartWorkflowInstancesRequest.builder().workflowDefinitionId(string2Uuid("XXX")).build())
Is there anything I'm missing?
laurenzhiller1
23 Messages
•
1.9K Points
9 days ago
Is the second workflow you try to start a global workflow or a workflow for a specific community/domain/asset? In the latter case, you need to provide the relevant community/domain/asset to the second workflow in businessItemIds.
(edited)
3