Handling assigned task for deactivated users

Hello,

what is the best practice in handling assigned/active tasks for deactivated users?

  Discussion posts and replies are publicly visible

Parents
  • Hi Howard, there is no direct way you can fetch the details of the tasks which are assigned/active under the task bucket of deactivated users but you may go for workaround on that front. If the deactivated users are more in number
    1. Fetch the list of users using - getdeactivatedusersby("email","@",2) - This function comes with the Shared Component namely Personalization Utilities.
    2. Use the - Reactive User - Smart Service or Smart Service Function to reactive the list of users fetched above - Refer the below URL: docs.appian.com/.../Smart_Services.html
    3. Build a report that fetches the details of tasks when you pass the a user or list of users as context (keep the necessary columns in the report for data - Task Id, Context User, Process Instance Id, Date & Time of Assignment/Acceptance, etc.)
    4. Build a process model to re-assign the list of tasks you have identified, to the desired active users using either of the Shared Components - Reassign With Privileges & Task Smart Services Plug-in, based on your need.
    5. And finally deactivate the users to get them back to inactive status using the - Deactivate User - Smart Service or Smart Service Function. Refer the URL below:
    docs.appian.com/.../Smart_Services.html
Reply
  • Hi Howard, there is no direct way you can fetch the details of the tasks which are assigned/active under the task bucket of deactivated users but you may go for workaround on that front. If the deactivated users are more in number
    1. Fetch the list of users using - getdeactivatedusersby("email","@",2) - This function comes with the Shared Component namely Personalization Utilities.
    2. Use the - Reactive User - Smart Service or Smart Service Function to reactive the list of users fetched above - Refer the below URL: docs.appian.com/.../Smart_Services.html
    3. Build a report that fetches the details of tasks when you pass the a user or list of users as context (keep the necessary columns in the report for data - Task Id, Context User, Process Instance Id, Date & Time of Assignment/Acceptance, etc.)
    4. Build a process model to re-assign the list of tasks you have identified, to the desired active users using either of the Shared Components - Reassign With Privileges & Task Smart Services Plug-in, based on your need.
    5. And finally deactivate the users to get them back to inactive status using the - Deactivate User - Smart Service or Smart Service Function. Refer the URL below:
    docs.appian.com/.../Smart_Services.html
Children
No Data