Hi,
I am currently working on a scenario where I need to trigger an e-mail notification to all the project owners under the "Event " program about their incomplete task before 5 days to the "Event Date" (custom field).
I have created the scenario but its sending the notification only to a single project (1st in the queue) and not sending the notification to all the other projects that under the "Event" program.
I have create the custom API to get the all the data->used Iterator->created the set variable to get the no.of days lefts. Its working fine but only for just one project and sending notification to all the projects.
Sharing the screenshot for reference.
Any suggestion or different approach would be highly appreciated. TIA!
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Like I said I would not have branches : )
The reason is you're duplicating modules for no good reason: All that changes is the content the CreateRecord and SendEmail modules use. May not affect you here, but as scenarios get more complex you really want to avoid duplicating logic.
Reason yours is not working is because you iterate over the tasks of the first project the CustomAPIModule brings back.
Unlike a Search module, the Custom API module does not have a built-in iterator.
So I would say:
Hello @Himanshu4,
The resolution of the screenshot is too low to really use them as an aid.
It would be interesting, what you set up as the filters for each route.
At the moment it looks like your bundles do only pass the filter for the first route.
Regards
Lars
Views
Replies
Total Likes
Hi @lgaertner ,
Thank you so much for looking into this. its only sending the notification to a single project which is under the "Event" program and not for all the projects.
I am sharing the screenshots again of the filters that I used and complete scenario.
Custom API:
Iterator:-
Percentage Complete filter to filter out the task that are less than 100%
Set variable to get the no. of days left:-
Filter to send the notification 5 days before:
Regards,
Himanshu
Views
Replies
Total Likes
My suggestion:
Thank you for looking into this. Can't we achieve it this way?
I am getting the notification only for the single project and not for all the projects under the "Event" program. That's the only issue, If we can figure it out. Would save the a lot of time as I am totally new to Fusion. Please suggest.
I am sharing the screenshots again of the filters that I used and complete scenario.
Custom API:
Iterator:-
Percentage Complete filter to filter out the task that are less than 100%
Set variable to get the no. of days left:-
Filter to send the notification 5 days before:
Regards,
Himanshu
Views
Replies
Total Likes
Like I said I would not have branches : )
The reason is you're duplicating modules for no good reason: All that changes is the content the CreateRecord and SendEmail modules use. May not affect you here, but as scenarios get more complex you really want to avoid duplicating logic.
Reason yours is not working is because you iterate over the tasks of the first project the CustomAPIModule brings back.
Unlike a Search module, the Custom API module does not have a built-in iterator.
So I would say:
@Sven-iX It worked just using the two Iterator in my existing setup. Thanks for your suggestion. Will try with the switch setup as well that you mentioned. Thank you soo much.
Views
Replies
Total Likes
Your current iterator is iterating through tasks in the first project fetched.
You should have one more iterator after first module to iterate through Projects in Program.
I'm glad. Thanks for letting us know!
Glad, it worked!
Views
Likes
Replies