Flow to track data

(Kurt) #1

Hello

I’m trying to create a flow to track data at regular intervals. However, the periodicity must be decided by the user, as well as the time at which this monitoring remains collected at the given periodicity.

Would you guys have any suggestions on how to make this flow?

(Karen Barker) #2

Hi @Gregorio_Rodrigues1,

I’m guessing you’re collecting the data from the user with the Ask a Question feature. You could store the answers in an attribute against the users response path. 1 attribute for when the user wants to give the data and 1 for how long you can hold the data for.

You could then use the Wait service to schedule the tasks to the users specified time frame.

Hope this helps :thumbsup:

(Kurt) #3

Hi, Karen.

I got the idea, thanks. But tell me one thing more: I want to conduct data tracking continuously. But I can only use loops 20 times. So how should I do it? Should I put an attribute to count the number of loops and, when it is 20, trigger another flow that redirects to the first one again?

(Karen Barker) #4

Hi Gregorio,

You’re right that the GoTo labels do only work 20 times per flow trigger to stop infinite loops. Therefore yes you’d need to find some way to count the times through the loop which an attribute would be perfect for and then retrigger the flow when you have hit that limit. :slight_smile: