Software deployment in UEM when Service Request is approved

Software deployment in UEM when Service Request is approved

Use case: 

To initiate the software request from Service Catalog, approve the request and initiate the software deployment using the EC agent.

 

Prerequisites:

1. To include required packages within a specific template, follow these steps: Begin by accessing the Admin section, then proceed to Resource Questions. Create a new question in this section. Afterward, navigate to the desired template and establish new Resource Sections. Finally, set up the previously created Resource Question within the template configuration.




We've seamlessly integrated two packages into our setup, and these very packages should be selected when initiating a service request.


 

2. The required assets needs to associated under Assets field which have to be deploy in UEM.



 


 

Execution Steps:

1. Download attached .zip file.

2. Extract the downloaded files to the path  Build_Home\AdventNet\ME\ServiceDesk\integration\custom_scripts

3. Update Setup credentials in configuration.json file.

4. Create new .txt file under the path Build_Home\AdventNet\ME\ServiceDesk\integration\custom_scripts\executor_files 

Populate the file with the following content: 'py softwaredeploy.py $COMPLETE_V3_JSON_FILE,' and store it under the name 'swdeploy.txt'  as done in our setup.

5. Go to Admin >> Automation >> Custom Triggers >>  Approval and provide saved .txt  file name i.e swdeploy.txt  under Actions >> execute script. Refer to the screenshot.

 

6. Softwares deployment in UEM will be initiated when Service request is approved.



A short guide on setting up python is available here.

                  New to ADSelfService Plus?