Deluge function with unexpected behaviour

Deluge function with unexpected behaviour

Hi, Team,

I'm writing a function (deluge) to copy a value from a service request to a change request.
First, I need the service request ID, then get the value from the request and set the value on the change request.

To do it I'm using a call to change API:
url = configuration.get('url') + "/api/v3/changes/" + changeID + "/initiated_by_requests";

to get the request ID.
I'm getting the correct response as you can see in the following screenshot:


I got this after selecting a change created from a service request.
The code that do this is:



The error message is "Found 'TEXT but Expected '[BIGINT]' for the function 'get'" but, as you can see, the value of "status_code" is not TEXT.

I think it's happening after applying the 14.104 version of SDP as on the previous version that my customer had (13.002) the change API was running fine.

Can you help me with this?

I'm an Ireo/Also partner, from Rumos Consulting.
This is intended to be a development for my customer which has SDP Enterprise edition v. 14.104, running on MS SQL 

Thanks,
Pedro Sousa Dias

                  New to ADSelfService Plus?