My Oracle Support Banner

Object Workflow Does Not Invoke Groovy Script (Doc ID 2423541.1)

Last updated on JULY 16, 2018

Applies to:

Oracle Customer Data Management Cloud Service - Version 11.13.18.02.0 and later
Information in this document applies to any platform.

Goal

On : 11.13.18.02.0 version, Data Quality, Customer Hub

Object workflow does not invoke groovy script

We've configure an object workflow on Contact object (see screenshot).
This workflow must invoke a Groovy Script that call an outbound web service (REST). The same grovy code in a trigger work fine.
Workflow is triggered by condition and we've added a "Field update action" for testing purpose.
When contact is updated with this condition
if ( ( CreatedBy!='XXXX' || LastUpdatedBy!='XXXX') ) {
return true
}
else {
  return false
}

the field is updated accordingly to Field Update Action but nothing appears in "Run Time Messages".
The function in Groovy is
println("Starting calling notify update service")
adf.webServices.Test.POST(PartyNumber)
println("End of call to update service")
 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.