Guidelines for Using a Script to Start a Task

If you use a script to start a task, then use the following guidelines:

  • Make sure an active UI context exists before the user starts a task.

  • Do not start a task from the middle of a run-time event, such as the WriteRecord event.

  • Do not create a task from a script and then immediately pause the task to the inbox. The Workflow Task step can perform this logic, but you cannot use it through a script. If you define a task to start from a script, then Siebel CRM starts it immediately when the script runs and then displays the first view in the Siebel client.

  • Make sure a business component record is available to the task. A script must only call a task when the business component includes at least one record.

Only limited support exists for starting a task from a script.