View Single Post
Old 02-18-2023, 08:01 PM   #1022
capink
Wizard
capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.
 
Posts: 1,203
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
Right after the first action, insert a new "Chain Varibales" Action that defines a variable called do_continue with the following template:

Code:
program:
	start = format_date(globals(_previous_action_start_time), 'to_number');
	lm = format_date(last_modified(), 'to_number');
	if lm ># start then 'yes' else 'no' fi
After that set a condition on the last two actions as follows:

Code:
template = program: globals(do_continue)
datatype = text
comparison = "="
condition value = yes
Edit: The above assumes the first two actions are tied together. If there is a chance you are going to cancel first action but proceed with the second, you have to repeat the chain variables step after the second action.

Last edited by capink; 02-18-2023 at 08:05 PM.
capink is offline   Reply With Quote