09/06/2023 06:14 AM
I want to print SIGA object values in logs to debug the addAccess.JSON flow from my rest connector.
Below is the Body am trying to debug, thus tried to add some console stetement, but not sure if trying the right approach to print the values, could you please guide me on the same.
"httpParams": "{\"id\": \"${account.accountID}\",\"userName\": \"${user.email}\",\"clientAttributes\": [{ \"clientId\": ${console.log(\"Vinita1 :::::: \" + ${account.accountID});for(entitlementValue entValue : allEntitlementsValues){console.log(\"Vinita2 :::: \" + allEntitlementsValues); if(entValue.roleType == 'client'){return entValue.customproperty1}}},\"userType\": \"CLIENT_USER\",\"businessCategory\": \"CORPORATE\",\"clientCustomPropertiesUpdateRequest\":{\"clientCustomProperties\": {\"5b1e7b9de4b071d6709dsd36d75\": [\"All - Admin - Globdssal View Only\",\"All - Admsdfin - Sprinklr Admin\",\"All - Admin - OC Contsdfent Reviewer\",\"All - Admfsdin - Governafdsnce Admin\"]}}}],\"createMissingClient\": true,\"deleteMissingClient\": false}",
09/08/2023 10:42 AM
Since you are using a REST integration, you can update ConfigJSON param in the REST connection with value {"showLogs":true}.
This will print additional logs and also print the value of the variables you have used in your add access JSON.
09/10/2023 07:41 PM
what is SIGA ?