Unable to add new input entries in the copied "create user" action from MS ADV2 spoke

Manmaya Kumar S
Tera Expert

Short Description
Unable to update the input entries in the powershell script step while copying the OOTB "create User" action.

Description
-
We need to include additional attributes and their values when creating user accounts in Active Directory (AD).
- To achieve this, we are attempting to copy the out-of-the-box (OOTB) "Create User" action from the MS ADV2 spoke, allowing us to pass these additional attributes.
-
However, after copying the OOTB "Create User" action to add extra parameters for AD user creation, the system does not allow us to insert new entries in the PowerShell script step for the attributes we want to pass.

ManmayaKumarS_0-1731515852135.png

 



 

ManmayaKumarS_1-1731515852138.png

 



 

ManmayaKumarS_2-1731515852140.png

 



we are follwing the steps mentioned in this support article

 

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0794226





Steps to Reproduce
1.Copy the OOTB create user Action that creates a new user in the AD with the passed in details.
2.Open the Powershell script step - "Create User"
3.Observe that the system is not allowing us to edit the input entries, nor it is allowing to create new ones.

Any help would be appreciated.

Thanks!
 

1 REPLY 1

Nithin Thumalap
ServiceNow Employee
ServiceNow Employee

Hi Manmaya,

In order to add new variable when it exceeds the default limit, please increase the count of this property "sn_flow_designer.max_script_variables" in system properties table(create this property if it not exists).

Doc reference: https://www.servicenow.com/docs/bundle/vancouver-build-workflows/page/administer/flow-designer/refer...

 

Regarding the edit option, i suspect your instance is not having PowerShell plugin installed which should be license related. Please check the doc and the subscription related link- https://www.servicenow.com/docs/bundle/xanadu-integrate-applications/page/administer/flow-designer/r...