Level 1
Level 2
Melden Sie sich an, um alle Badges zu sehen
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!
Gelöst! Gehe zu Lösung.
Anhand von Themen werden Community-Inhalte kategorisiert und Sie können so relevanten Inhalt besser finden.
Zugriffe
Antworten
Likes gesamt
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
Zugriffe
Antworten
Likes gesamt
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
Zugriffe
Antworten
Likes gesamt
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
Zugriffe
Antworten
Likes gesamt
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.
Zugriffe
Antworten
Likes gesamt
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.
@v-ellur Thanks for looking into it. Yes, you are right. I tried using 2 Iterator one for project and other for task. It Worked.
I'm glad. Thanks for letting us know!
@Sven-iX Hi! Want to check one more thing, Is there a way that I can send all the incomplete tasks information to a project owner in a single email notification? Kind of incomplete task list.
Any suggestion would be helpful.
Thanks in advance!
Zugriffe
Antworten
Likes gesamt
You could collect the list of tasks in a TextAggregator module, grouped by primary assignee and put that into an email?
Zugriffe
Antworten
Likes gesamt
Glad, it worked!
Zugriffe
Likes
Antworten