Skip to content

Call External Method Activity

The Call External Method activity enables calling a specific method within an external application or library. It supports execution with Java, Python, and DLL files, retrieving the method's return value for further processing.

Field Description Requirement
Path Specifies the file path to the external application or library. Required
File Name The name of the file, including its extension (e.g., myprogram.py, mylibrary.dll). Required
Class Name The name of the class containing the method to be executed. Required
Method Name The name of the method to be invoked. Required
Argument Type Selects the data type of the parameter passed to the method. Optional
Argument Value The value of the parameter to be passed to the method. Optional
Argument Option Required when the Argument Type is Date. Specifies the date format. Optional
Response Variable Name The name of the variable where the method's return value will be stored. Required

Action Types & Examples

String Data Handling

  • Format: string
  • Example Result: methodOutputText

Date Data Handling

  • Format: date
  • Example Result: 12-02-1997

Implementation Examples

Field Setup - Path: C:UsersDesktopDesktopfileReader - File Name: readfile.py - Class Name: Hello - Method Name: string

Execution Parameters - Argument Type: STRING - Argument Value: Postman request - Argument Option: 12-02-1997 - Response Variable Name: degiskenismi

Technical Notes

When calling external methods, ensure that the target application's environment (e.g., Java Runtime Environment, Python interpreter, necessary DLLs) is correctly configured and accessible from the execution machine. Mismatched argument types or incorrect method signatures can lead to runtime errors. Implement robust error handling to manage potential failures in external method execution.