Json Body is fetched null in before operation rule while performing add/remove entitlement

I am Using Sailpoint IIQ 8.4

In before operation rule I am using this
Map jsonRawMap = requestEndPoint.getBody();

  String jsonRawBody = jsonRawMap.get("jsonBody");
  log.error("jsonRawBody=============="+jsonRawBody);

where the jsonRawBody is coming as null

this my payload
{
“createdBy”: “$response.createdBy$”,
“createdDate”: “$response.createdDate$”,
“lastModifiedBy”: “$response.lastModifiedBy$”,
“lastModifiedDate”: “$response.lastModifiedDate$”,
“optlock”: $response.optlock$,
“id”: $response.id$,
“firstName”: “$response.firstName$”,
“lastName”: “$response.lastName$”,
“email”: “$response.email$”,
“opco”: “KE”,
“opcoSync”:$response.opcoSync$,
“phone”: “$response.phone$”,
“lineManagerFullName”: null,
“lineManagerEmail”: null,
“userSecurityInfos”: [@userSecurityInfos@],
“userGroupMappings”: $response.userGroupMappings$,
“enabled”: true,
“emailVerified”: $response.emailVerified$
}

body format is raw

Hi @deveshrns ,

User $plan in place of $response in payload.

Thank you,

Harikrishna

I have to take the data from the previous operation which is get single user that is why I am using $response

Hi @deveshrns ,

is it calling previous operation (get single user)?

Thank you,

Harikrishna

yes
thank you,
Devesh Varma

Hi @deveshrns ,

Can you elaborate more on the above use case?

@deveshrns Print the requestEndPoint object directly and see you are able to see the body contents?

I am calling a get single user just before the remove entitlement operation and taking the data into the remove entitlement operation from the response of get single user

Best Regards,
Devesh Varma

I tried printing that as well it shows jsonbody=null

thank you,
Devesh Varma

@deveshrns

Have you tried the same operation through POSTMAN app. What do you see?

yes I tried - its working as expected

what re you trying to do?? are you trying to get single user object and then do something?? can you sahre your before operation/prov rule snippet here??

not jsonBody.. can you please try printing the complete requestEndpoint object.

Can you share more about your use case here? Specifically why the get single user is required before calling the remove entitlement operation

If you can, sharing your connector may help

Share the connector and the body and endpoints your using here. This may help