Dear Team,
While triggering a workflow using rest api call workflow is getting triggered but all the json fields are not accepting by Automation edge due to that request getting failed.
We are passing below json while creating request.
This json contains ‘&’ symbol as a value of the key.If I remove that symbol then all the fields are properly accepted by Automationedge.
Then what is the solution for this .
Value fields data cannot be change as this is a standard data from client and it varies for every request.
{
“orgCode”: “HDFCBANK”,
“workflowName”: “Notes Id Transfer”,
“userId”: “tenantuser1”,
“sourceId”: “24-09845-A-06AUG2019002745”,
“source”: “Postman”,
“responseMailSubject”: “null”,
“params”: [
{
“name”: “isacTicketId”,
“value”: “24-09845-A-06AUG2019002745”,
“type”: “String”,
“order”: 1,
“secret”: false,
“optional”: false,
“defaultValue”: null,
“displayName”: “Service Request Id”,
“extension”: null,
“poolCredential”: false
},
{
“name”: “idType”,
“value”: “Individual”,
“type”: “String”,
“order”: 2,
“secret”: false,
“optional”: false,
“defaultValue”: null,
“displayName”: “Type Of Id”,
“extension”: null,
“poolCredential”: false
},
{
“name”: “empCode”,
“value”: “A17160”,
“type”: “String”,
“order”: 3,
“secret”: false,
“optional”: false,
“defaultValue”: null,
“displayName”: “Employee Code”,
“extension”: null,
“poolCredential”: false
},
{
“name”: “isWebMailUser”,
“value”: true,
“type”: “Boolean”,
“order”: 4,
“secret”: false,
“optional”: false,
“defaultValue”: null,
“displayName”: “Is User a Webmail User”,
“extension”: null,
“poolCredential”: false
},
{
“name”: “supervisorEmpCode”,
“value”: “R5850”,
“type”: “String”,
“order”: 5,
“secret”: false,
“optional”: false,
“defaultValue”: null,
“displayName”: “Supervisor Emp Code”,
“extension”: null,
“poolCredential”: false
},
{
“name”: “supervisorName”,
“value”: “Ragesh Divakaran”,
“type”: “String”,
“order”: 6,
“secret”: false,
“optional”: false,
“defaultValue”: null,
“displayName”: “Supervisor Name”,
“extension”: null,
“poolCredential”: false
},
{
“name”: “empBand”,
“value”: “E2”,
“type”: “String”,
“order”: 7,
“secret”: false,
“optional”: false,
“defaultValue”: null,
“displayName”: “Band of User”,
“extension”: null,
“poolCredential”: false
},
{
“name”: “empGrade”,
“value”: “Deputy Manager”,
“type”: “String”,
“order”: 8,
“secret”: false,
“optional”: false,
“defaultValue”: null,
“displayName”: “Grade of User”,
“extension”: null,
“poolCredential”: false
},
{
“name”: “empJobname”,
“value”: “Sales Mgr-PL & BL”,
“type”: “String”,
“order”: 9,
“secret”: false,
“optional”: false,
“defaultValue”: null,
“displayName”: “Job Name”,
“extension”: null,
“poolCredential”: false
},
{
“name”: “empNameInBank”,
“value”: “ANAND SRIDHARAN”,
“type”: “String”,
“order”: 10,
“secret”: false,
“optional”: false,
“defaultValue”: null,
“displayName”: “Employee Name in Bank Directory”,
“extension”: null,
“poolCredential”: false
},
{
“name”: “referenceEmpCode”,
“value”: “M14493”,
“type”: “String”,
“order”: 11,
“secret”: false,
“optional”: false,
“defaultValue”: null,
“displayName”: “Reference Emp Code for Transfer”,
“extension”: null,
“poolCredential”: false
},
{
“name”: “currentBranchCode”,
“value”: “”,
“type”: “String”,
“order”: 12,
“secret”: false,
“optional”: false,
“defaultValue”: null,
“displayName”: “Current Branch Code”,
“extension”: null,
“poolCredential”: false
},
{
“name”: “currentLocation”,
“value”: “”,
“type”: “String”,
“order”: 13,
“secret”: false,
“optional”: false,
“defaultValue”: null,
“displayName”: “Current Location”,
“extension”: null,
“poolCredential”: false
},
{
“name”: “currentDepartment”,
“value”: “”,
“type”: “String”,
“order”: 14,
“secret”: false,
“optional”: false,
“defaultValue”: null,
“displayName”: “currentDepartment”,
“extension”: null,
“poolCredential”: false
},
{
“name”: “currentAssetCode”,
“value”: “”,
“type”: “String”,
“order”: 15,
“secret”: false,
“optional”: false,
“defaultValue”: null,
“displayName”: “Current Desktop Asset Code”,
“extension”: null,
“poolCredential”: false
},
{
“name”: “newBranchCode”,
“value”: “0058”,
“type”: “String”,
“order”: 16,
“secret”: false,
“optional”: false,
“defaultValue”: null,
“displayName”: “New Branch Code”,
“extension”: null,
“poolCredential”: false
},
{
“name”: “newDepartment”,
“value”: “RA PL & BL - Emerging”,
“type”: “String”,
“order”: 17,
“secret”: false,
“optional”: false,
“defaultValue”: null,
“displayName”: “New Department”,
“extension”: null,
“poolCredential”: false
},
{
“name”: “newLocation”,
“value”: “THILLAI NAGAR”,
“type”: “String”,
“order”: 18,
“secret”: false,
“optional”: false,
“defaultValue”: null,
“displayName”: “New Location”,
“extension”: null,
“poolCredential”: false
}
]
}