Use Data Activities Inside Models

    Use Data Activities Inside Models


    Article summary

    You can now use data activities inside models! This allows you to create multiple types of data from within models, these could be messages or database data. Check out our Data Activity tutorials to learn more!

    Model a master set of variables to drive multiple publishes, the master variables can use lists to look up reference data or data in the target systems before generating data. These variables are pushed out to CSV files, which then drive the various publishes. You can refresh lists prior to running the model data generation. 

    The different variations of smaller components can be easily modelled to create different "shapes" and types of data combinations. 

    The individual data activities used to create and manage data can be much simpler and set up as components that can be called in chains. This avoids having to put too much logic into each individual publish. 


    Advanced Features

    You can repeat various publishes for a single path, by calling the path multiple times with different sets of parameters. For example, if you wanted to create three orders with a different sales_persoon_id, include the call to Fast CSV three times with three different parameters in your model. 

    You can also run other general activities as part of the publishes to perform message or database management. For example, if you want to copy all the created messages to a Kafka queue.


    What's Next