Class AddDynamicProcessToStageCommand

  • All Implemented Interfaces:
    Serializable, org.kie.api.command.Command<Long>, org.kie.api.command.ExecutableCommand<Long>

    public class AddDynamicProcessToStageCommand
    extends CaseCommand<Long>
    Adds subprocess (identified by processId) to selected ad hoc process instance with given parameters
    See Also:
    Serialized Form
    • Constructor Detail

      • AddDynamicProcessToStageCommand

        public AddDynamicProcessToStageCommand​(org.kie.internal.identity.IdentityProvider identityProvider,
                                               String caseId,
                                               Long processInstanceId,
                                               String stage,
                                               String processId,
                                               Map<String,​Object> parameters)
    • Method Detail

      • execute

        public Long execute​(org.kie.api.runtime.Context context)