task_action_list ( session, id, action {, path} parameter)
This function returns a list of possible choices related with a task. The input parameter “action” describes the kind of task to be choosen | |
Input parameters: | session: is the session id obtained in the session_init call id: is an admission reference id (mandatory) parameter: id of the task (mandatory) action: FORM_TASK Inserts form into current task. path: library path like “ROOT” or “ROOT/SHARED” to be used to show protocol or form tasks to navigate from a different task library |
Output parameters: | result: list of possible actions ref: action reference. If the action is of type ACTION the action reference is an action_token, otherwise is an action_id name: short name in the active session’s language description: description in the active session’s language class: PATH | ACTION ErrorMsg: any fault in the call, either in the validation of input parameters, errors in the connection to the database or any other error, this parameter returns the error message produced |
Request sample: | admission_action_list ( “LCAAAAAAAAAAAA”, "123", "CASE" ,'234234" ); |
Response sample: | <?xml version="1.0" encoding="utf-8" standalone="yes"?> <result> <actions> <action> <ref>action_id</ref> <name>short_name</name> <description>desc</description> <class> PATH</class> </action> <action> <ref>action_token</ref> <name>short_name</name> <description>desc</description> <class>ACTION</class> </action> <action>...</action> ... </actions> </result> <ErrorMsg></ErrorMsg> |
Notes: |
|