Comunidade
Créidto Solar - Dados Iniciais
{
"workflowLeadCanonical": {
"operatorIdentification": "11111111111",
"customerIdentification": "11111111111",
"externalIdentification": "GUID",
"revenue": 4000,
"averageEnergyInvoiceAmount": 841,
"desiredAmount": 22590,
"projectTotalAmount": 23590,
"upfrontPaymentAmount": 1000,
"hasOptin": true,
"addresses": [
{
"addressStreet": "Rua Gomes de Carvalho",
"buildingNumber": "900",
"city": "São Paulo",
"complement": "",
"district": "Vila Olímpia",
"state": "SP",
"zipCode": "04547004",
"type": "INSTALL_LOCATION"
}
],
"partners": [
{
"taxId": "11111111111",
"partnerRelationshipType": "DISTRIBUTOR"
},
{
"taxId": "11111111111",
"partnerRelationshipType": "INTEGRATOR"
}
]
}
}
Esse é o modelo de teste e estamos recebendo o seguinte erro:
{
"fault": {
"faultstring": "Execution of JS-SetTokenVariables failed with error: Javascript runtime error: "TypeError: Cannot read property "scope" from null. (SetTokenVariables.js:3)"",
"detail": {
"errorcode": "steps.javascript.ScriptExecutionFailed"
}
}
}