On 16/03/2018 21:20, udaykiran.vasireddy wrote:
Hi,

We have Three Propagation Tasks in Syncope. One for LDAP and two REST API
calls using Groovy scripts.

When the First Propagation Task with REST call gets executed, we are
throwing an exception when we get any response other than Status code 200 to
return Propagation Task as Failure in the "/Users" API Response for POST and
PUT. Whenever we get the failure for first propagation task, it is not
executing the remaining two Propagation Tasks.

We are passing all three resources in the body. This is working fine if we
remove "throw exception" from the Groovy Scripts but it will return Success.

Hi Udaykiran,
which Syncope version are you running?

Could you check what is the priority values set for your three External Resources? Preferably, via REST / Swagger UI.

If one or more priority values are non-null in fact, then the behavior described in [1] for the PriorityPropagationTaskExecutor matches what you currently experience in your deployment.

Regards.

[1] https://syncope.apache.org/docs/reference-guide.html#propagation

--
Francesco Chicchiriccò

Tirasa - Open Source Excellence
http://www.tirasa.net/

Member at The Apache Software Foundation
Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail
http://home.apache.org/~ilgrosso/

Reply via email to