Use the Change Ticket Entity action … that may not work though because I have no idea what your doing. Are you creating them from in ticket? Entity Updated is probably not going to capture Entity Created.
Hmm, thats an interesting idea for selecting entity.
Personally dont like it as could be triggered by events other than your intended flow.
You could use similiar flow to what I used in my hotel room and booking account setup.
How are you setting entity name on new entity?
If you use execute automation command with the sommand value of the intended new entity name you can then have a create entity action using command value and then a update entity action again using the value to select that new entity.
Your create and load entity actions probably wont work like that.
If you put the [?CustomerName] prompt into an execute automation command value field then have a create entity action and load entity action in the resulting rule creating the entity and selecting using command value. Its that bit which allows both actions to use the prompt value (entity name) to create and then select…
Or as kendash said the select entity action has option to create entity…
No, my flow was a button rule with an execute automation command action with command value of ?prompt and then the resulting command rule triggered by the automation command action contains the create and select actions using command value (customer name from the ?prompt in the execute action on first rule)
An automation command has two ‘values’, the command name itself and the command value.
Look at my fast cash flow… It uses 4 buttons which trigger the same rule with 4 constraints to catch any of the 4 commands then a pay ticket action using the command value for the tendered amount…
Command name is the trigger value is data the command carries with it. The rule sees the command name so it knows to trigger and can use the command value to do extra stuff.
Look at how ask questions work, the question has 1 command name and then each button is a command value…
Ar you sure its load you actually want? sure there are open and load ticket actions, load doesnt actually open/select it but allow automation on it, dont think it does anything visually but might be wrong? or posibly it just isnt showing, maybe try a refresh ticket…
Select it to the ticket or just set a bunch of entity data.??
You can in theory update an entity data field without selecting just using entity type and name with update entity data action…
The above example would trigger a rule where command value would be the new entity name… and they add a few update entity data actions where entity name is command value…
HOWEVER you might want to consider some other way of generating entity name as they obviously have to be unique…
My hotel setup would be a beneficial setup to understand as that creates a booking entity with generated number as entity name and they updates a buntch of entity data fields using prompts…
For now, ive literally JUST basically done what I wanted to achieve.
Loading the entity ISNT important really as the ticket will be closed without a transaction anyway. Creatiung an entity and filling in the custom fields IS important.
Now ive got the basics done, I can achieve what I was setting out to do. Thanks for the Command Value help.