cancel
Showing results for 
Search instead for 
Did you mean: 

Help needed on Groovy in CPI !

das_sappo
Participant
0 Kudos
640

Hello Experts,

I need to call 4 endpoints dynamically via HTTP receiver in CPI.

Identifier would be coming from source and I am capturing that "Identifier" in Content Modifier.

I have maintained a VM table accordingly and want to develop a groovy which can call the VM and return the correct output as property against the source Value. Please help me with the groovy code.

Content Modifier

Accepted Solutions (1)

Accepted Solutions (1)

PriyankaChak
Active Contributor
0 Kudos

Hi Arvik,

Remove line 18 and 19 in your script and add one line as below.

message.setProperty("MappedValue", mappedValue);

das_sappo
Participant
0 Kudos

Hi Priyanka,

Thank you very much for your reply.

Working now:)

Br,

Arvik

Answers (1)

Answers (1)

kinnarivakta
Explorer
0 Kudos
das_sappo
Participant
0 Kudos

Thanks Kinnari.

I am using following code but can't see the property - MappedValue after the Groovy step

Please suggest.