Time Clock AM PM


#21

What I am saying is you can create a system that is just as easy for end user. Might be more difficult to setup. Have you tested Entity Updated Event? Use show message to test it properly.


#22

Yea Ive tried that and it doesnt work. I think thats like you said when you update a ticket with the entity assigned to it. Sucks cause it would have been perfect to fire rules based on those custom data fields.


#23

I’ve tried to create command buttons to fire a rule but even that doesn’t seem to work with the entity search.


#24

You could create your own employer search screen and when employee selected it shows status and one button to change status.


#25

It works with custom screen and search widget.


#26

True but I did like the idea of having it under the section to edit the entity so I could change the time clock pin and the active or inactive status along with the phone number and any other custom data I want to add to keep track of employees


#27

You can do all of that without using the aearch. You could make one much better.


#28

I wouldn’t even know where to start with that.


#29

Well your not gonna make the impossible work. Maybe start looking into it. The punch editor screen would give you a good start it has some things you can use.

You won’t be able to make the search widget work like you want.


#30

I’m going to give this a shot today… what’s the best way to feed the {ENTITY NAME} value to a rule using a automation command with the search entity widget. Can’t find any examples on here to build off of.


#31

Also do I even need to set a state?.. Can I create a rule for the time clock where it looks at the custom data field and if it’s active it will allow the rule to run and if it’s set to inactive or null it will not run? I was thinking I needed to set a state to be able to control if a rule is ran based on the state. But if I can do it the other way that would also work!


#32

Not really sure what your automation looks like but if you have the entity name available to the automation you will be able to use that to get to the custom data without duplicating into state.


#33

trying to use this custom button to get the entity name from the entity search that ive selected but it only gives me a number when i select a entity and press the button…

image

I i select the entity and press enter tho on the keyboard it shows the entity name in the message box instead of the number… Right now i just have a rule setup that shows the message to see if its even loading the name…


#34

What number.
So is 4322 the primary field value for test bob?


#35

I have no idea lol… not sure where that number is coming from. I believe name is the primary field for the entity. But like I said that’s if I press the test=load entity automation button… if i press the enter key on the keyboard or the onscreen keyboard while the entity is selected it pops up with the entity name not that number…


#36

Hmmmm, not sure what that number is…


#37

Show your entity type settings.


#38


#39

Hmm so i changed the command value on the widget from {ENTITY NAME} to {ENTITY ID} and when i select the entity and press enter on the keyboard i get the same number. Still not sure why it doesnt work with the automation button tho.


#40

Well to get around this I just used the Select command button… so now when i have a user highlighted i can press that button and it will ask me to activate to deactivate a employee… this way I can filter my clock in and clocked out users on a entity grid without showing inactive users.

image