question

joshsagarfreelance avatar image
joshsagarfreelance asked

Scheduled Tasks Action Order

If I have a scheduled task, and I have two cloudscript actions under that task, will they go in turn one after another? Or will both cloudscript functions run at a random order?

CloudScriptscheduled taskstasks
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Citrus Yan avatar image
Citrus Yan answered

Every task has a "Action Group" that is responsible for saving those Actions, under normal circumstances, Actions execute orderly within that Group. However, it's not guaranteed that there will be reliable relationships between those Actions, for instance, if the first Action writes the title data, then it's possible that the second Action won't be able to read it. May I know more details about your scenario?

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Error rendering WebPanel (widgets/consolidation-widget.ftl): org.hibernate.hql.internal.ast.QuerySyntaxException: AvailableConsolidation is not mapped [from AvailableConsolidation up where up.node = :node]