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

How to use Groovy and REST API to filter and execute datamap, and set substitution variables

Summary:

I want to find out if you can set dimension parameters when running a datamap using a REST API call in Groovy, in PBCS calc rules.

Secondly, I want to know if substitution variables can be set using Groovy in PBCS calc rules. When I try using the POST on substitutionvariables URL I get error METHOD_NOT_ALLOWED


Content (required):

I have 2 questions regarding Groovy and REST on PBCS:

I am trying to run a datamap in Groovy, the normal method using the Groovy method works but only for Admin users, not non-admin users. If I do it using the REST API, it works for normal users as well, however I do not seem to be able to set the dimension parameter (filters on each dimension controlling members to push) using the REST API method. The call I use is:

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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