Poller script: how it works
The RemoteAction.poller connects to the Remote Action Service to retrieve and process completed forms. For each form, it progresses the workfow according to the details submitted by the user on the Remote Action form.
For example, if the user approves the workflow request, the workflow status is updated as per the Approve step configured in the workflow template.
If the poller encounters any error, for example another user has already approved the workflow, using their Remote Action link or using the Extender console, the poller will log an error.
Note: The poller script connects to the Remote Action service to retrieve the completed forms, but doesn't consume any action.
To configure Poller and Process Scheduler, refer to Configure Process Scheduler to run the poller automatically