If user does not login for consecutive 3 days,i want to be removed login access using schedule script how can i do this
a
Ankur Sanghi
02/27/2019, 2:37 PM
that's an interesting idea! I'd say you will want to make a search that shows users with that criteria (Answer Id: 18240), then run a scheduled script that uses the search above, and 'inactivate' the employees.
l
lleclerc_zlab
02/27/2019, 4:06 PM
inactive might prevent flows related to that employee record, just uncheck the access checkbox 🙂
w
Wolf
02/27/2019, 4:08 PM
I think you could also do this with an employee Mass Update with the same criteria, no scripting needed.
👍 1
a
Ankur Sanghi
02/27/2019, 4:15 PM
@lleclerc_zlab - Did not know that. Does Inactivating any record prevent workflows from running on that record - or is it something specific to employee record?
l
lleclerc_zlab
02/27/2019, 4:25 PM
@Ankur Sanghi i dont know about workflows, what I meant, is that employee record should behave similar to item record, if set to inactive, you cant use it on SalesOrders, but you might still want to be able to select employee somewhere else.
@prachi If possible, I would go with scheduled mass update