Class ExternalProcessJob

    • Constructor Detail

      • ExternalProcessJob

        public ExternalProcessJob​(Map serializedItem)
        Creates a new WorkflowJob.
        Parameters:
        serializedItem - Map of the serialized Item
    • Method Detail

      • getWorkItemMap

        public Map getWorkItemMap()
        Returns the WorkItem Mapof the job
        Returns:
        Map The Map of the job
      • createJobEvent

        public Event createJobEvent​(Integer retryCount,
                                    String jobId)
        Convenience method to create a job event for the workflow job.
        Parameters:
        retryCount - how many times to retry
        jobId - The jobId
        Returns:
        Event Returns Event created for the job