Action wizard - Configure run script action

Note: This action applies to all assets of the model selected in the Select model for action page.

Run Script actions (Category: Asset update actions) enable the Axeda® Platform to run a script on an asset. Only published scripts available to this model appear for configuration as actions.

When the rule associated with this action evaluates to true, the Platform sends a command to the Agent on the related asset(s) to start this script. This script must already exist on the asset. (This action does not first deploy the script to the asset; it assumes the script exists on the asset already.)

To confirm if a script is available and registered on an asset before attempting to start the script on the asset, look for the script in the Axeda® Service Application Asset dashboard Scripts module or Scripts page. If the script does not already appear on the asset, you can use the tools in the Service application to deploy the script to the asset. You can also download the script to the asset through a Software Management package.

To configure Run Script actions

1.       Select the script you want to run from this action. Only previously published scripts appear in this list.

Note: All scripts available to this model appear in this list, whether or not they actually exist on an asset of the selected model. Before you need to run this script, make sure it already exists on the asset. You can do this by viewing the list of scripts registered on an asset in the Service application Asset dashboard Scripts module or Scripts page.

2.       When you are finished, click Next to select the user groups with edit permissions for this action. If you click Finish, the action confirmation page appears. If you click Cancel and continue canceling, all information configured in this wizard is removed.

Tips

o        If you do not see a script, you may need to first create it in the Service application, Service application Asset dashboard Scripts module or as a Software Management package. If the script does exist, you may need to first publish the script, which you can do from the Scripts page from the Asset dashboard or as a Software Management package.

o        In the Service application, Asset dashboard Rules module, you can view and enable or disable the rules configured for a specific asset.

o        The Service application, Asset dashboard Audit log module, shows a log of activity for the selected asset, including registration, actions run, alarms acknowledged, statuses, usage value setting, and more. Also, if you have privileges to the Administration application, you can search the Audit log for asset, Platform, and user activity.