Skip to main content
Solved

Await result and background tasks in universal GUI

  • August 21, 2023
  • 1 reply
  • 99 views

Forum|alt.badge.img+2

Hi I have a task in my application that takes a long time to complete and times out in the universal GUI. Since it was part of a process flow I assumed it had to wait for the task to finish to send the user to the result of the task. 

Now we have decided to turn it into a background task that does not send the user anywhere and is not contained in a process flow. We switched the setting await result to “no” but it seems the universal GUI does not pick up this setting since it still opens the loading window and times out after some time. 

Setting in SF
Task is pending

Now the only thing I can still think of is that it is a task as a menu item could that be blocking the await result option? Or does await result not work in Universal GUI if so are there any workaround i can use?

Best answer by Anne Buit

Hi Anne,

This is currently not yet supported - keep an eye on ‘Task progress’ on the Universal GUI forecast.

The easiest workaround is currently to store the task execution in a queue and set up a system flow that picks up on the queued task.

View original
Did this topic help you find an answer to your question?
This topic has been closed for comments

1 reply

Anne Buit
Community Manager
Forum|alt.badge.img+5
  • Community Manager
  • 637 replies
  • Answer
  • August 29, 2023

Hi Anne,

This is currently not yet supported - keep an eye on ‘Task progress’ on the Universal GUI forecast.

The easiest workaround is currently to store the task execution in a queue and set up a system flow that picks up on the queued task.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings