AnsweredAssumed Answered

Attribute Synchronization Transformation javascript

Question asked by Abhinav Singh on Oct 15, 2019
Latest reply on Oct 15, 2019 by Tahir Ahmed

Hi Team,

 

We need to transform the Job status value as below using Javascript. we are trying to transform this value in AD for extensionattribute 9 as Yes or No.

 

Can anybody please help to provide the javascript code for this

 

var OUTPUT_VALUE = transform(INPUT_VALUE);

function transform(){

IF (Job Status == 'Active')
{
Employment Status = 'Yes';
}
else
{
Employment Status = 'No';
}

 

return INPUT_VALUE;

Outcomes