Run Process in Remedy
Sundeep Koul
Last Update 2 years ago
The Run Process action in BMC Remedy is used to execute system commands, external scripts, or internal AR System processes from within a workflow object, such as an Active Link or a Filter. This feature allows integration with external systems or execution of specific server-side or client-side commands.
Key Features of Run Process:
Execute Commands:
- Run operating system commands or scripts (e.g., .bat files, shell scripts).
- For example, sending notifications or triggering external programs.
Run Internal AR System Processes:
- Execute AR System commands, such as exporting data or performing server-specific actions.
Client-Side or Server-Side Execution:
- Can be configured to run commands on either the client machine or the server, depending on the workflow type.
Integration Support:
- Enables integration with third-party tools and scripts by triggering them from Remedy workflows.
Automation Tasks:
- Triggering external scripts for automation, such as running a batch process or updating an external database.
Notifications:
- Executing a command to send email notifications using external tools or custom scripts.
File Handling:
- Copying, moving, or modifying files as part of a workflow.
Integration with External Tools:
- Calling external APIs, command-line tools, or system utilities.
- Executes the notify_user.bat script on the server.
- Opens Notepad on the client machine when triggered.
- Executes the internal AR System command Application-Bus-Time to calculate business time.
Create Workflow:
- In Developer Studio, create or edit an Active Link, Filter, or Escalation.
Add Run Process Action:
- Choose the "Run Process" option as the action for your workflow.
Specify the Command:
- Enter the system command, script path, or AR System command in the process field.
Define Execution Context:
- For Active Links, decide if the command should execute on the client or server.
Test and Validate:
- Test the workflow to ensure the command executes as expected.
- Security: Ensure scripts and commands triggered by Run Process are secure and do not expose sensitive data.
- Error Handling: Implement error-checking mechanisms to handle failed executions gracefully.
- Performance: Avoid long-running or resource-intensive processes that could impact system performance.
- Documentation: Document all Run Process actions to maintain clarity for future development and troubleshooting.
Would you like assistance with a specific use case or an example workflow involving Run Process?
