Class ProcessEventDescriptor
public class net.juniper.smgt.workflow.engine.adapters.ProcessEventDescriptor extends net.juniper.smgt.workflow.engine.EventDescriptorThis event descriptor holds the information that starts an external process and receives back some results when used with the ProcessAdapter. The communication to and from the process is made through the token.
When a descriptor is created by a work item, it carries the input token to that process, and when it comes back from the event adapter, it carries the output token. The use of the token is optional, but if you do not use it as an input, then you are forbidden to use it as an output.
The input token does not need to be an exact copy of the work item input token, because it may contain only the attributes relevant to the external process. In the same sense, the output token may contain only the attributes created or modified by the process. The success or failure of the process is encoded in the token.