Good morning,
I followed the steps in the following link to loop through an object and send tasks depending on certain conditions. When I run it, my process gets stuck on the Create Activity Step, which I am absolutely perplexed by. Additionally, the flags are not getting set correctly, which I am also unsure of.
Here is the entire process:
For the Set Flag step:
I want to check if a leasing agent exists for a record, and to check if the lease ends in the enxt 30 days. "30days" is the following code: [#System variable.Current Date#].AddDays(30). Even when I make it such that I'm only checking if an agent exists, flags do not get set to true. I imagine the same issue is happening in Remove Flag, which I can apply once a solution is provided.
For Read Units and Account step:
Those simply check if flags exists that equal "True." They both read the first record in the selection. I know they work correctly because a To Do task does in fact get created with the correct Unit and Account name. The formula I use for the "What should be done" field in Create Activity is the following:
"Reach out to residents living at " + [#Read Accounts.First item of resulting collection.Name#] + ", " + [#Read Units.First item of resulting collection.Unit#] + " as their lease ends in less than 30 days."
Again, this correctly creates a Task with an expected output, but results in the busines process being stuck?

My confusion is how my process gets stuck on the create activity task, when it clearly correctly creates an activity that I can see in the Tasks page?