I wanted to send partyId field value to another service to get the email-id and in turn send an email via another service.
Asked
Active
Viewed 117 times
0
-
What have you tried? Any research on your part? – Litty Mar 10 '18 at 18:28
1 Answers
1
In the origin service (ex: ogriginalService, you need return an attribute:
<attribute name="partyId" type="String" mode="OUT" optional="false"/>
And in secas.xml you can invoke service:
<eca service="ogriginalService" event="commit">
<condition operator="is-not-empty" field-name="partyId"/>
<action mode="sync" service="sendEmailService"/>
</eca>

Nguyễn Thắng
- 319
- 5
- 14