Hello World,
I’ve been all over the forums for the last week, and haven’t been able to find anything helpful.
I’m essentially implementing the custom package delivery for v5 tutorial, but I’m doing things a little bit differently since I’m delivering chicken wings instead of packages. I only have unassigned and assigned tickets, when a ticket is paid (remaining balance = 0) I mark the ticket unassigned and then when a driver is selected on the delivery screen, the driver should have their Driver entity changed, which will trigger a state change from unassigned to assigned.
I know my Command Button I’m clicking to assign the driver is sending the Driver’s name and ticket Id to the “Handle Driver Command” rule. I know the ticket is getting loaded since I can use my “Show Message” action to display {ENTITY DATA:Customers:Name} HOWEVER, I can’t seem to get my Drivers entity to update for my ticket. Even if I hard code a known entity name, even if I set it to Create Entity = TRUE…I can NOT get the entity to change. Here come the screenshots.
Please, any advice would be appreciated, I’ve been stuck on this for over a week.
This is how my command buttons are set up. Note I’m using only the first name of the second driver thinking it was an issue with white space. ( updated the related entity, and even tried hardcoding the entire chain of events regarding the entity change )
Here’s my delivery ticket type, demonstrating that these tickets do indeed have the Drivers Entity Type.
Here’s my Drivers Entity Type
Here’s the actual Change Ticket Entity action that appears to not fire, whether hardcoded or not.
Here’s the rule that should be triggering the above action (the rule is executing as you’ll see from my final screenshot)
And finally, here’s what I get when I actually click a ticket and a driver, sending the automation command
As you can see from the rule definition, the last “and” in the dialog message should be followed by the name of the Drivers entity, defined in the Show Message action as {ENTITY DATA:Drivers:Name} which should have a valid value after executing the change ticket entity action.
Please help!