Creates a process instance in the current process. Creates a new instance in the process. For example: //Generating automatically an Instance //The Begin activity of the process has a 'BeginIn' Argument Mapping set and has 2 arguments: 'descarg' and 'genbyarg' args["descarg"] = "AutoInstance: " + formatTime('now', timeStyle : Time.SHORT) args["genbyarg"] = "Global Automatic" instance = ProcessInstance.create(arguments : args, argumentsSetName : "BeginIn")
| Name | Type | Description | Mode |
|---|---|---|---|
| arguments | Map(Any, String) | array of pairs (name, value) of arguments expected in the argument mapping set | in |
| argumentsSetName | String | argument mapping set name that will be used for creation. Argument set in Begin activity. | in |