Stop CA PAM fields becoming mandatory in CA SDM, Mobile App

Document ID : KB000115214
Last Modified Date : 18/09/2018
Show Technical Document Details
Question:
How to stop CA PAM fields becoming mandatory in CA SDM, Mobile App?

In CA PAM (IRF) the fields are not mandatory. An approver will find the fields to be optional.

However, in CA Service Desk Manager, Mobile app, the fields becomemandatory until the "My Tasks" - and should not be.

EXAMPLE

IRF with fields as flagged as "Not mandatory" in CA PAM.
These Tasks can be completed without filling in these fields when using a regular CA PAM client in a browser.
However using the Mobile App, those same fields show up as Required for some reason. 


1) Create a PAM process that has an SRF/IRF.
IRF should contain couple of fields, one of which is required and other not required.

2) Create an SDM CO category against the above PAM workflow 

3) Create a CO against the above category 

4) Check PAM using a browser, to verify a task shows up and the fields are appropriately required or non required.
Do NOT complete the task yet 

5) Repeat the above check using mobile app by logging the app into SDM REST port, My Tasks.
Check the same task above now, those fields show up as Required (mandatory).
Answer:
There is a variable that can be set in CA Service Desk Manager that should address this issue. 

CA Engineering team have confirmed that the default behaviour is where all fields will be shown mandatory in the CA PAM form. 

This can be overridden by setting NX.env variable. This is also available via docops article: 
https://docops.ca.com/ca-service-management/14-1/en/using/mobility/ca-service-management-mobile-application/optional-set-form-fields-as-non-mandatory 

- - - - - 
This option can be installed by running the following command from the Command Prompt on the Primary server machine: 
"pdm_options_mgr -c -s MOBILE_WFM_ITPAM_ALL_FIELDS_ARE_REQUIRED -v No -a pdm_option.inst " 

To avoid losing the change when you run pdm_configure, please run the above command with the '-t' flag as follows: 

" pdm_options_mgr -c -s MOBILE_WFM_ITPAM_ALL_FIELDS_ARE_REQUIRED -v No -a pdm_option.inst -t " 

A restart of SDM server is needed for this. If its Advanced Availability, rolling maintenance is needed for this option to be translated to all servers 
- - - - -