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 ADManager Plus?

                    New to ADSelfService Plus?

                      • Related Articles

                      • Service request approvers

                         This report helps to find the who all the service request approvers in the application.  SELECT aaauser.first_name "Approver Name", dpt.deptname "Department", sdo.name "Site", sd.jobtitle "Job Title" FROM srapproverdetails LEFT JOIN aaauser ON ...
                      • Automatically close request after successive approval reminders.

                        This post describes the use of a python script to close requests after successive approval reminders using Custom Schedules. Use Case: We have an option under the self-service portal in order to send reminders mail for the approvals, what would be ...
                      • Update Request with another Group when the request is approved

                        Use case:   Assume a requester is requesting for an gadget asset and it requires approval from their managers.  This ticket needs to be moved to "Asset" group only when the ticket gets approved.  Depending on the availability of the requested gadget, ...
                      • Inventory method when another UEM product exists

                        When the user is using another ManageEngine Product that belongs to the UEM Family, they would have already deployed the UEM Agent, that we had now bundled with ServiceDesk Plus. With that being said, this KB deals with 3 cases - 1. The customer ...
                      • Auto-create a change via a service request

                        Requirement: When a request for change is submitted by a user via a service request with resource answers, then a change should be auto-created, resource answers copied to its description, and the change should be associated with the service request ...