Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.

TaskManager claimTask() - synchronous or asynchronous???

Avatar

Level 2

We have an issue using the TaskManager API. When the user claims the task, and then tries to complete it, intermitently it may get an error message saying that the task is not active... We suspect that the claimTask call is not completed when the user tries to complete the task, cause if the user tries again, everything works fine...

Does anyone know if the claimTask call is asynchronous or synchronous? At least we may prevent the user from completing the task until the task is claimed, if we would be able to identify that moment...

Thank you...

0 Replies