AnsweredAssumed Answered

AFX: Provisioining Command Node in Fulfillment Workflow

Question asked by Gunpreet Singh on Sep 20, 2017
Latest reply on May 14, 2020 by Pankaj Rana
Branched to a new discussion

We are trying to move AD accounts to different OU  based on some attributes collected from IDC.

 

Workflow implementation is done as:

 

Start-> Decision Node ->SQL select -> Provisioning Command

 

i) SQL select:-

node query  - SELECT 'CN='||first_name||' '||last_name||' '||user_id||',DC=xxx,DC=xxx' as AFXCUSTOM_Old,

Department_Hierarchy||',DC=xxx,DC=xxx' as AFXCUSTOM_New
FROM pv_users where user_id='${access_request_cri_meu_userId}'

 

Variable Type is Job.

 

Correct values are getting populated in the requests generated.

 

ii) Provisioning Command:-

mapped to AD with 'Move an account' command. The parameters are also mapped

Account - ${jobUserData_Old}

New Parent DN - ${jobUserData_New}

 

iii) An active AFX Connector is mapped with AD & Move an account command is also enabled.

 

Issue: What should be mapped for the parameters in the connector under Move an account command. Is that should be same as the mapping specified in Provisioning Command , i.e ${jobUserData_Old}?

 

The fulfillment is getting failed with error - 

 

ERROR (Worker_actionq#Script Queue - Normal#WPDS_57) [com.aveksa.afx.plugin.integration.fulfillment.validation.FulfillmentRequestValidator]
com.aveksa.afx.plugin.integration.fulfillment.validation.InvalidParameterValueException: Missing value for required parameter 'Account'

 

ERROR (Worker_actionq#Script Queue - Normal#WPDS_57) [com.aveksa.afx.plugin.integration.fulfillment.validation.FulfillmentRequestValidator]
com.aveksa.afx.plugin.integration.fulfillment.validation.InvalidParameterValueException: Missing value for required parameter 'NewParentDN'

Outcomes