Class WorkflowJob

  • All Implemented Interfaces:
    Serializable

    public class WorkflowJob
    extends Object
    implements Serializable
    The WorkflowJob class provides a utility for creating event triggered job used for programmed/scripted workflow steps.
    See Also:
    Serialized Form
    • Constructor Detail

      • WorkflowJob

        public WorkflowJob​(Map item)
        Creates a new WorkflowJob.
        Parameters:
        item - the work item
    • Method Detail

      • createJobEvent

        public Event createJobEvent​(Integer retryCount,
                                    int numOfParallelProcs,
                                    String jobId)
        Convenience method to create a job event for the workflow job.
        Parameters:
        retryCount - the retryCount
        numOfParallelProcs - the number of parallel processes
        jobId - the workflow job id
        Returns:
        the created job event