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:
- Verify that the user has enough privileges to update the project.
- Validate all incoming parameters by verifying the following:
- All required parameters are present.
- No system fields have been supplied.
- Only project metadata has been supplied.
- All values are valid,
- Start the transaction.
- Retrieve and lock the project.
- Initialize the plugin engine :
- Find the Plugin Configuration Xml.
- Conditionally filter the Plugin Configuration Xml using the following conditions:
ConditionName Condition on... Example ISHTypeThe InfoSharetype of the objectISHProjectISHUserGroupThe element name of the usergroup VUSERGROUPSYSTEMMANAGEMENTCurrentActionThe current action CreateISHLevelThe level project - Initialize the plugins.
- 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.
- Check that the current values match the values specified in the required current metadata.
- Set all metadata fields (in memory).
- If the status has been updated, verify that the status transition is valid.
- Run the plugins in the order specified in the Plugin Configuration Xml.
- If the status has been updated, verify that the status is still valid after running the plugins.
- Update the project in the database.
- Start the background tasks from the plugins.
- Commit the transaction.