The following example illustrates the External signal activity in a typical use case. A data import is performed in a source workflow. Once the import is done and the database updated, a second workflow is triggered. This second workflow is used to update an aggregate on the imported data.
The source workflow is presented as follows:
tcode;tdate;customer;product;tamount aze123;21/05/2015;email@example.com;A2;799 aze124;28/05/2015;firstname.lastname@example.org;A7;8 aze125;31/07/2015;email@example.com;A7;8 aze126;14/12/2015;firstname.lastname@example.org;A10;4 aze127;02/01/2016;email@example.com;A3;79 aze128;04/03/2016;firstname.lastname@example.org;A8;149
A Reconciliation activity creates the links between the imported data and the database so that the transactions data are properly connected to profiles and products.
An Update data activity inserts and updates the Transactions resource of the database with the incoming data.
An End activity triggers the destination workflow, which is used to update aggregates.
The destination workflow is presented as follows: