Is it possible to find conflicting schedule in the Calendar App using Nintex form or Nintex workflow.
What my workflow is currently doing is querying a calendar list and sending all scheduled activity for the whole week.
What I want to happen is to put additional information in my notification that a specific activity is conflict with another activity.
Maintenance 1 - June 22, 2017 -- 8am to 5pm
Maintenance 2 - June 23, 2017 -- 9am to 4pm
Maintenance 3 - June 22, 2017 - 1pm to 3pm
The logic I need to create in the workflow is, If any time overlap to each other it will be considered as conflict even just by an hour.
Maintenance 1 is conflict with Maintenance 3
In regards with Nintex Form I don't have any working prototype. But if it is possible in Nintex Form I am open to suggestions.
Solved! Go to Solution.
little patience, holiday season is coming
basically, you can use one of two approaches
it might seem a bit complex at first sight, but advantage of this approach is that is could handle recurring events.
2. brute force way - read in all the events including their start and end dates into collection variables and then within a loop compare single events to each other.
Note that this will not work for recurring events, since this way you will not get them expanded and will just dates of first occurrence.
if you were able to publish it, it shouldn't crash due to size at runtime.
but I wonder why it would be so big.
what approach you decided to go with?
and if one adds 11th, 12th, 13th, etc event you want to always redesign the workflow???
as I said above, you should read in all the events to compare mutually into collection variables.
then, within 2 nested for each loops compare single events.
I still can't visualize it. If you're not that busy it is possible if you can show me a very simple representation of what you are saying? Also, to answer your question if one adds nth number of events I will modify the workflow again.
Thanks a lot.