Automatically Create a Project from Request

Automatically Create a Project from Request

Requirement:
In many organizations, non-technician users are responsible for initiating project-related activities. These users raise service requests that, after approval, need to be converted into full-fledged projects. Typically, this process is manual and managed by a project manager who refers to the request and manually creates the project using relevant details.

To streamline this workflow, you can automatically create a project from a request using the “Invoke Action” feature when specific conditions are met.


Steps to configure:
  1. Download the attached scripts.  
  2. Goto Admin > Developer Space > Global Function > Copy & Paste the attached GF_4 - Configuration.txt and save it with a name.
  3. Goto Admin > Developer Space > Request Custom Function > Copy & paste createAndAssociateProjectWithRequest.txt and save it with a name.
    • Update the global function name according to your instance.  In my case it's configuration().  
    • Update the udf_field mappings based on your instance. If a value needs to be fetched from the request, configure it in the udfFieldMapping. For static values, define them in the staticUdfValues. You can modify both sections as per your requirements
    • .
  4. Configure the created custom function in a trigger to get executed every time the service request is approved.

                  New to ADSelfService Plus?