Question about Flows

I want to add a value to a global
My global is DecalN
The value I want to add is 7*a value I have on another global NbWeek

Hi there,

Switch the order of both steps, so that:

  1. Use a formula to set a value ➞ $gv(nbweek)*7$
  2. Store the value from step 1 to a global variable ➞ decaln

I hope this would help.
:smiling_face::+1:

1 Like

working fine but the value is 3*7 : I wanted to see 21

Hi there,

Please check the formula, it should be written correctly:

$gv(nbweek)*7$

not

$gv(nbweek)$*7 ➞ you wrote this on your screenshot

I hope this would help.
:smiling_face::+1:

1 Like

Yes I noticed from your answer, all good , just a point : seems the widget is not refreshing quickly after the flow is done

Hi there,

From your screenshot, the Flow you created is triggered manually, meaning it won’t run unless it’s triggered by touching on an object that has an action for triggering a Flow.

If you want the Flow triggered automatically and repeatedly (i.e. every other minutes), then use a Cron trigger.

If you you want the Flow triggered automatically and conditionally, then use a Formula trigger.

I hope this would help.
:smiling_face::+1:

1 Like

yes it is manually , it is previous/next weeks in the calendar

Do you mind sharing with us here any screenshots and/or screen-records of your widget and the script you’re having issue with? Perhaps we could assist you in troubleshooting your issue based on those screenshots/screen-record.

.

it’s really not all the time, sometimes KWGT sounds less responsive. I’ve tried after a reboot and it sounds working well. But you’re right I’ll share the KOMP and with screen recording

Back to the lag. Could you implement a kustom function : refresh the tab ? as when I go to another tab and back to initial tab it’s well refreshed