Create tasks which only a specific user can perform


(Neha Sheikh) #1

Hi @Subrahmanyam,

I have created bot with 4 tasks out of which

  • 2 tasks can be performed by all users and
  • the remaining 2 tasks can only be run by specific user “userX”

Is there any way to achieve it?

Regards,
Neha Sheikh


(Subrahmanyam Donepudi) #2

@nehamsheikh, Yes this is achievable if the bot purpose is of type “Enterprise”. The Enterprise bots need assignment of tasks to the users present in your account.
If you were to use bots of purpose “Consumer”, then you may please use the BotUserSession data present in context to identify the user and then present the tasks accordingly. (Maybe, you could change the type of tasks which are accessible to specific audience to hidden and then present the task list based on the user data in the context)