FEATURE RICH
RAPID APPLICATION DEVELOPMENT
HELPING YOU OR YOUR CUSTOMERS
MANAGE THEIR BUSINESS

<-- Back to Commands (Program Flow)

{BACKGROUND_TASK(obj_id, param)}

This command will instigate a page run as a Background Task.

As a result, it will not halt execution of the current process while the task completes.

You should however, make sure the background task runs as efficiently as possible to avoid slowing down the server.

This is generally best employed for API operations where time is spent waiting for responses from external servers.

Parameters
Number Name Default Type Description
1 obj_id 0 Integer The id of the page to run as a background task
2 param String Any parameters you want to send to the page
3 title Background Task String The title of the task
4 domain The current domain Integer The domain to run the task from
5 user_id The current user id Integer The ID of the user to run the task as.
Log in to add a Comment.