I am operating on a Paid Ticket. I am not Cancelling Payment, and this works…
Try using close ticket instead of mark as closed?
I tried Close Ticket, but the Ticket Tag doesn’t stick for some reason.
So it must be the Account Transaction as @Jesse suggests - it’s the only thing I haven’t tested…
@sukasem, test to ensure [Delivery By]
contains a value for an existing Account… throw in another message to display [:CommandValue]
since that is what you’re using to set it., and then verify that Account exists by exactly the same name.
Right now I didn’t use Delivery Payout in the rule now. It’s still crashed.
Could you test by Test button trigger Ask Question please?
That could be it as well. Instead of doing that make the question fire an execute automation command action which fires your apply. Try that at least
This is all working using:
- Ask Question (which account)
- Prompt for input (how much)
- update 2 Ticket Tags
- create Acc Doc
- Refresh Ticket (
Display Ticket Id: 0
) - Mark Ticket Closed
2 Rules required…
Flow…
Tx Doc:
I have no idea what happen here. I can’t even run single Ticket Tag action in the rule. Something went wrong with my database? I have no clue where to look for.
I have to do workaround by reopen close ticket->cancel payment->ticket tag
Its probably not your database. it is probably a state check somewhere has been modified on yours. Something is happening. If you dont mind sending me a copy of your db I can help you locate it. Something is interfering with a typical flow of a ticket and its conflicting with the behavior in your rule.
Your ticket is probably not closing properly. Or something is triggering on Ticket Open. Remember even if you Re-Open a ticket… its still passing it through the Ticket Opened rule firing all those actions again so we may need to put some constraints on those… It all depends on States and if you changed any state checks etc.
EDIT: I have noticed something. Its definitely the ticket flow… Look at your Last Payment Ticket Log… notice it has a Date in your first screenshot when Ask Question is fired… then the Date disappears and its only showing a Time… This is when its reopened the ticket… but look at the last line… it cant close it. So it has to do with closing the ticket after reopen… so something is happening when you reopen your tickets… and its not just that ticket…
Look through any rules that has to do with Ticket Opened or ticket closing… something is making it not able to close the ticket… can you reopen and just close that ticket without running the rule?
When is your Ask Question Triggered? It could have to do with that