Run Code

Top Previous Topic Next Topic  Print this topic

The run-code task is available for you in the even that you would like to customize your own task.  Here you can write your own script in C# and simply attach to trigger your added script as a task in your workflow.

 

run_code_intro

Figure 1:  The run-code task is selected in the Selected Tasks window.

 

Configuration

When you have completed the development and testing of your C# code you will first need to upload this C# file in your Ecrion Omni System Project.  In the configuration menu below the Selected Tasks menu, you can then select your uploaded C# file from the drop down menu.  Additionally, if your code is written to accept parameters from Ecrion Omni System you can select the '+' button to the right to add parameters.

 

When you have selected your C# file and configured your parameters, select Update to commit your configuration changes. If you finished configuring the Job, select the Save button in order to save all the settings for the Job.