I have a button with the following operation:
- Iterate through a list of rows
- For each row, collect three buttons to push
- Then push them in order
Some important context:
- The first button runs a pack method that modifies a value.
- The second button is disabled unless button one has modified said value
- And button three does another unimportant operation (it deletes its own row)
Here’s the problem:
RunActions is trying to push Button 2 before Button 1 has finished, so it’s still disabled and gets skipped.
The Pack method is lightweight – it’s a regex replacement so it’s not doing anything crazy. Any suggestions on how I can either:
- Speed up my pack’s method running?
- Force sequential (instead of parallel) execution?
Here’s my button:
RunActions(
[MsgBuilder: Drafts]
.Filter(Automation.IsNotBlank())
.FormulaMap(
List(
[btn Apply Template],
[btn Queue Draft],
[btn Discard]
)
)
)