this is the scenerio, so the first http module is to verify odoo, then it goes to a data store get data which will fetch the last sales id from the last module data store update data. and in between the 2 data stores modules is another https which will get data of all the sales orders.
The aim of using these to data store modules is to avoid duplicates and only the new entries go through. Im also using a filter in between the API call and the last module data stores, to filter all the previous records and only push forward the new records.
i dont know what else i can do to acheive this as this is not working, whenevr i run it, it doesnot go through the filter and in the get record data store module it only shows the default ID that i created.
some one please help as i have been stuck since 3 days. blueprint (3).json (23.9 KB)
How are each module set up, and what are the outputs of each module? How is your data stored in the Data Store? How does your filter look like?
You have not yet provided sufficient information to demonstrate the problem that would allow us to reproduce the scenario and any error(s).
To allow others to assist you with your scenario, please provide the following:
1. Relevant Screenshots
Could you please share screenshots of your full scenario? Also include screenshots of any error messages, module settings (fields), relevant filter settings (conditions), and module output bundles. We need to see what youâre working with to give you the best advice.
You can upload images here using the Upload icon in the text editor:
We would appreciate it if you could upload screenshots here instead of linking to them outside of the forum. This allows us to zoom in on the image when clicked, and prevent tracking cookies from third-party websites.
2. Scenario Blueprint
Please export the scenario blueprint. Providing your scenario blueprint file will allow others to quickly recreate and see how you have set up the mappings in each module, and also allows us take screenshots or provide module exports of any solutions we have for you in return - this would greatly benefit you in implementing our suggestions as you can simply paste module exports back into your scenario editor!
To export your scenario blueprint, click the three dots at the bottom of the editor then choose âExport Blueprintâ.
You can upload the file here by clicking on this button:
3. Output Bundles of Modules
Please provide the output bundles of each of the relevant modules by running the scenario (you can also get this without re-running your scenario from the History tab).
Click on the white speech bubbles on the top-right of each module and select âDownload input/output bundlesâ.
Save each bundle contents in a plain text editor (without formatting) as a bundle.txt file.
You can upload the file here by clicking on this button:
B. Insert as Formatted Code Block
If you are unable to upload files on this forum, alternatively you can paste the formatted bundles.
These are the two ways to format text so that it wonât be modified by the forum:
Method 1: Type code block manually
Add three backticks ``` before and after the content/bundle, like this:
``` content goes here
```
Method 2. Highlight and click the format button in the editor
Providing the input/output bundles will allow others to replicate what is going on in the scenario, especially if there are complex data structures (nested arrays and collections) or if external services are involved, and help you with mapping the raw property names from collections.
Sharing these details will make it easier for others to assist you.
This is the output of the second module, as you can see it says last_processed_Id 88, now this is the default that i have set, and the issue is that it doesnt change, it should change everytime i run it and get the new Id, if a new sales order is created.
Output Bundle: [ {"last_processed_id": 88} ]
It looks like you need an iterator after the third module to process the array inside. Then the filter afterwards. Or you can use a get(map()) function to to find the item inside the array that has the same ID as the last processed ID.