Get a list of actions
Your application retrieves a list of actions for a topic available to the user by using the getActionContexts task that returns a list of action contexts with the action name and ID and the associated topic ID.
The result is sorted by name and includes the number of actions returned and the total number of values. You should add an option in your user interface to not select an action. The Oracle Empirica Signal application adds the --none-- option to the top of the drop-down list. Optionally, you can set a start row and a chunk size.
ActionContexts JSON
The getActionContexts task returns a list of ActionContexts with action IDs and names and the associated topic ID.
{
"topicsServiceContext": {
TopicServiceContext object
},
"actionContexts": [
{
"id": “number”,
"name": "string",
"topicId": “number”
}
]
}
}
Parent topic: Tasks