You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Error in Groovy Script while calling Change Status for Approval

Received Response


Hello Experts,

I am trying to call change status via groovy script by building the connection through other web services functionality in PBCS. Below is the error response from JASON,

Log messages : 

jsonResponse Status:500

jsonResponse Status_txt:

Kindly go through the below groovy script and let me know if there is any issue with the code.

Content (please ensure you mask any confidential information):

def Payload="""{


HttpResponse<String> jsonResponse = operation.application.getConnection("PUH")

.post("/planningunits/Budget::Manpower Working/actions/")



println "jsonResponse Status:"

println jsonResponse.status

println "jsonResponse Status_txt:"

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!