Skip to main content
February 7, 2023
Solved

How do I execute a process in background ?

  • February 7, 2023
  • 3 replies
  • 0 views

Zuuuup, people !

So, I'm trying to execute a process in background when a user does click a button, for example.

Wanna execute it without leave the page or open a new one. For now, we're using a startProcessLink and this behavior leads user to a page that goes back to home page.

Any idea to manager this situation?

Best answer by mikes0011

you're probably looking for a!startProcess().  That starts a process asynchronously without (necessarily) leaving your current location, wherever that is. It can be invoked within basically any saveInto component parameter, resulting from some user interaction (button click, or even editing the value of a field).

3 replies

mikes0011
mikes0011Answer
Brainy
February 7, 2023

you're probably looking for a!startProcess().  That starts a process asynchronously without (necessarily) leaving your current location, wherever that is. It can be invoked within basically any saveInto component parameter, resulting from some user interaction (button click, or even editing the value of a field).

Mike Schmitt, First Annual Live-Build Challenge Loser™️
February 7, 2023

Sounds like a good option ! ! gonna try it ASAP. Ty 4 ur attention !

abhayd3663
February 7, 2023

As suggested by Mike, you can use a!startProcess() to starts a process asynchronously. Importantly, make sure not to submit the form so that it stays wherever it is.