CloudWorks–This is how we use it - Part 5: Model-to-model
If you need a reminder on CloudWorks; go here.
Why we are excited
With the new CloudWorks release comes a long-awaited feature: “model-to-model" (or M2M) actions.
Until now, you had 2 options to automate Anaplan-to-Anaplan flows:
- Implement a third-party tool such as Anaplan Connect (requiring a server that can run Java)
- Use an ETL (involving an additional maintenance), and up until recently, CloudWorks supported Anaplan Actions involving file upload only
The new CloudWorks enhancement brings exciting changes:
- Trigger M2M actions directly from an Anaplan screen. Using Anaplan Connect or complex IT integrations are not mandatory.
- Schedule M2M actions for timely integration needs
This article gives an example on how to setup M2M in CloudWorks and achieve an even closer vision of Connected Planning.
NB: The following will not be applicable for models subject to ALM that are not in the same workspace than their DEV model.
This is currently under investigation.
Illustrating the use case: Data Hub to spoke model
Setting the stage
For this illustration, we will use the well-known models from the Level 2 certifications. In the training, you were asked to create two models, "Level 2 Supply Chain" and "Level 2 Data Hub."
In one of the processes, called "1. Build Geography Hierarchies," the goal is to generate the Geography hierarchies:
All the imports within this process are model-to-model actions (from the hub to the Supply Chain model).
Note: As best practices, we recommend to use saved views as source for your M2M models. It gives you more control on the data you share and can be easily amended (see Planual Rule 5.04-09).
For instance, the import 1.1 Build Region is based on the view called "Build Region" in the "SYS05 Region Details" module.
Setup M2M in CloudWorks
We will now leverage those actions and set up an integration with CloudWorks.
- Open CloudWorks via the Hamburger button (ensure you are an integration admin first)
- Go directly to “Integrations & Processes” (no need to create a connection)
- Select Process as the type of object to create
- Fill the drop-down button with the necessary information regarding the process to execute and click Create
- You now have a M2M process registered, and you can execute it by clicking on Run.
An ephemeral popup will appear on the right side of the page, stating “Started Integration.”
The blue icon means the task is queued and will be executed soon.
Once the integration is done, you will get the final status of the task.
What about scheduling?
As mentioned earlier, a great CloudWorks feature is its scheduler.
To generate one, simply go the tab called “Schedule” and click on “Create schedule.”
Enter the settings.
After clicking on “Save,” you created a Process with an “Active” scheduler mentioned in the “Status” column.
It means that from that moment, the task will be executed daily at 3 pm Paris time.
To deactivate that task, make sure you select “Deactivate” after clicking on the 3-dot button, as shown above.
With that example, we've shown how easy it is to manage data flow between Data Hubs and Spoke Models, or M2M flows.
Please take advantage of that new feature, and happy Connected Planning!
Got feedback on this content? Let us know in the comments below.