ECMToolbox - Order of Event Execution in Workflow

All IActions are run, and desired workflow actions are rolled together. The Actions from here down will
only be executed if they exist in this rollup. (Always Occurs)

  1. Refresh Fields* - Pulls updated data from mapped fields

  2. Update Fields* - Any requested field updates are performed to the workitem (not yet saved to
    database, if any errors occur field updates will not be persisted to the database or mapped
    fields)

  3. Update Owner* - Changes the owner of the current workinstance

  4. Add Comments* - Adds comments requested by IAction(s)

  5. Update Icons* - Changes the icons for the current workinstance

  6. Parallel Instance Update Icons* - Changes the Icons for all instances associated with this
    workitem except for the current

  7. Update Background Color* - Changes the background color in the queue or group box, or inbox
    for the current workinstance

  8. Update Background Color* - Changes the background color in the queue or group box, or inbox
    for all workinstances except for the current

  9. Send Emails* - Sends all emails out requested by IActions

  10. Create Log Entries* - This adds a custom history log entry under the current workinstance

  11. Remove Ownership* - Removes the ownership from the current workinstance

  12. End parallel instances* - Forcefully ends all workinstances associated with the current workitem
    except for the current workinstance

  13. Update Instance Note* - Adds a note to the current workinstance

  14. Close Workinstance* - Ends the current workinstance (does not work on Open, Instance
    Complete, or Workitem Complete events)

  15. *** Prior to this point No changes have been made in the database to the workInstance table or
    the workitem table. ***

  16. Fields Saved - Any changes made to fields are saved to the database at this point (Always
    Occurs)

  17. Workinstance Changes Saved - And changes to the workinstance is saved to the database
    (Always Occurs)

  18. Create Workinstances* - This will create any new WorkInstances that are requested by the
    IActions, this includes setting initial icons, initial ownership, etc. if applicable

  19. End WorkItem - This will end the workitem entirely. This will only be performed if all instances
    are completed (Always Occurs if Applicable)

    1. *Action requested through IAction interface. This will not perform any work if not
      specified in an IAction

CASO Knowledge Base