task_close (session, task)
This is an function to close a TASK. When calling this function, all the forms that belong to the TASK will be closed, and at the end, if all the forms could be closed, then the TASK is closed. Otherwise the TASK will remain opened. If the TASK is finally closed and it is a recursive TASK, then a new TASK with the same template will be created according to the WORK PLAN defined for the task in its TASK. WARNING: after closing a TASK it should check all TASKS in the same stage, if all TASKS are completed this function completes stage as well. This is not being done currently | |
Input parameters: | session: a token to the session obtained from session_init () task: task ref |
Output parameters: |
|
Request sample: | task_close (“LCAAAAAAAAA”, 31234); |
Response sample: | true/false |
Notes: |
|