Class AddDynamicProcessCommand

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

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

      • AddDynamicProcessCommand

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

      • execute

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