The IJobExecutionContext interface provides the context of the job execution for use in your implementation. Public Task Execute(IJobExecutionContext context) This interface has only one method, Execute with the following signature. Name associated with this job in Peregrine Connect MS setup Group name associated with this job in Peregrine Connect MS setup Name of the trigger associated with this job in Peregrine MS setup.ĭescription of the job associated with this job in Peregrine Connect MS setup. Unique Id assigned to the request message. Your implementation can set this property to return any response for use in next invocation. Optional request message that is configured on the Job Setup is passed in this property This will indicate the exact time when the last invocation of this job finished. This will indicate how long the last invocation of this job ran. If the last invocation of the job failed, this will have the exception message from the last invocation. After that you set the IsCancelled to true and Cancellation Detail to your custom message. You can implement functionality to check for this and implement cancellation cleanup logic. When Cancellation is requested from the Peregrine MS admin, this token will be set. One of the members of JobExecutionContext is CancellationToken. You can use this to log any messages to the Neuron ESB Scheduler log.Įxecute method of the interface passes in a JobExecutionContext object. Gives access to the Neuron ESB Scheduler host log. Gives access to the currently configured Neuron solution configuration. Represents the name of Neuron Entity in Peregrine Connect MS job setup. JobDataDictionary consists of all the Job Data configured for the Job in Peregrine MS job setup. JobKey consists of Job Name and Job Group defined in the Peregrine MS job setup. This interface provides the link between your custom class and Peregrine Connect Management Suite scheduler host. You need to implement the IPeregrineJob interface in your custom job class. Usually, this folder is C:\Program Files\Neudesic\Neuron ESB V3\DEFAULT. NET framework 4.8 DLL project and reference the following four DLLs from the Neuron Instance folder. The following is a sample demo on custom jobs functionality and can be used as a guide for any other functionality you choose to implement. In addition, it will demonstrate how to check log folders for specific log files containing keywords and emails. This sample illustrates a demo of how to implement the custom job functionality. The custom job defined when using the Peregrine Connect Management Suite can be configured, triggered, and monitored. Using the Custom Job function, you can implement your solution with Visual Studio or any. The Peregrine Connect Management Suite Scheduler can schedule any job within an enterprise or even outside Neuron ESB. NetSuite PSA Microsoft Project IntegrationĮxchange Information from NetSuite PSA to MP.Graphical Designer for Designing Integrations Monitor
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |