runActivity
Runs an activity from a script.
Signature
runActivity(options)
Returns
Not applicable.
Parameters
Name | Description | Type | Required |
name | Specifies the name of the activity that the API launches. | String | ✅ |
parameters | Specifies the parameters for the activity in an array. | JSON object | ❌ |
contextPage | Specifies the name of the context page for the activity. By default, the activity runs in the primary page context. | String | ❌ |
event | Specifies the event that launches the activity. | DOM event object | ✅ |
Previous topic refreshSection Next topic setValues