How to make user to available after 10minutes AWA

Research
Tera Guru

Hi All

 

Can any one guide me the script of Business rule how can we make user to Available after 10minutes 
Under user table we have last login time once it cross 10 minutes user states under AWA set to Available 

Research_0-1699004496526.png

 

 

Research_1-1699004668076.png

Automaticly it should update as Available after last login time cross 10minutes

Please can any one help

 

 

7 REPLIES 7

Research
Tera Guru

Hi @Saurabh Gupta   Appreciate for the code functionality is not working can we do with Business rule 

Created a event 

Research_1-1699717794913.png

 

script action :

Research_0-1699717621942.png

script action2 

Research_3-1699717925696.png

Is there any changes please or can we do with Business rule


Thanks

Hi @Research ,

 

You can try flow designer or workflow here where u can trigger the flow whenever the last login time changes and add additional filters so that the flow triggers only specific to our requirement.

Filter can be something like last login time changes & users is part of some group or having some role.

Once the flow triggers u can add 10 mins of wait duration & then make the agents status up in the table awa_presence_state.

U would not even require any script to do this i believe. Did not try this though from my end.

 

Thanks,

Danish

 

Research
Tera Guru

Hi @Danish Bhairag2 
Can you guide me steps please
Thanks