Creating Native Call Activity
Native Call is used to run the .EXE, .BAT or .SH files asynchronously during the execution of a process flow.
This feature is available in:
Steps to create Native Call activity
On the Adeptia Suite homepage, click the Develop tab.
Go to Services > Extensions and then click Native Call.
The Manage Native Call screen is displayed.
Manage Native Call
Click the Create New link. The Create Native Call screen is displayed.
Enter the name and description of the new Native Call activity in the textboxes Name and Description fields respectively.
Select the extension of the file i.e. .exe, .bat or .sh from the dropdown list Default Extension.
Enter the filename with full path in the textbox File Name(Absolute Path).
To specify any arguments for selected batch or executable file enter the arguments in the Argument(s) space separated field.
Create Native Call
Enter the path of directory, where you want the run the specified batch or executable file, in the Working Directory (Absolute Path) field.
Click the Save button.
When using a native call in a process flow, the waitForEnd property is set to False by default. This implies that the native call and other activities in the process flow are executed simultaneously. If you want to wait till the native call is complete, before executing the next activity in the process flow, you need to set this property to True.
13