0

I wanted to send partyId field value to another service to get the email-id and in turn send an email via another service.

1 Answers1

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