Documentation Center

Steps in the Project Update method

Invoking the Project Update method results in a number of steps being performed.

Here are the steps that the Project Update method executes when invoked:

  1. Verify that the user has enough privileges to update the project.
  2. Validate all incoming parameters by verifying the following:
    1. All required parameters are present.
    2. No system fields have been supplied.
    3. Only project metadata has been supplied.
    4. All values are valid,
  3. Start the transaction.
  4. Retrieve and lock the project.
  5. Initialize the plugin engine :
    1. Find the Plugin Configuration Xml.
    2. Conditionally filter the Plugin Configuration Xml using the following conditions:
      ConditionNameCondition on...Example
      ISHTypeThe InfoShare type of the objectISHProject
      ISHUserGroupThe element name of the usergroupVUSERGROUPSYSTEMMANAGEMENT
      CurrentActionThe current actionCreate
      ISHLevelThe levelproject
    3. Initialize the plugins.
  6. Retrieve all metadata. During this step, all metadata - which is required in one of the following steps - is retrieved, including all metadata that is required for running one of the plugins.
  7. Check that the current values match the values specified in the required current metadata.
  8. Set all metadata fields (in memory).
  9. If the status has been updated, verify that the status transition is valid.
  10. Run the plugins in the order specified in the Plugin Configuration Xml.
  11. If the status has been updated, verify that the status is still valid after running the plugins.
  12. Update the project in the database.
  13. Start the background tasks from the plugins.
  14. Commit the transaction.