Workflow button from saved search result

I know it is possible to inject URLs into saved search results, via a formula, so I can create a link to the record from the saved search result.

I have a workflow button being created on transactions (PO Approval) and I was wondering if I can add a saved search result link to hit that workflow ‘Approve’ button.

Is this doable?

Rookie Asked on January 24, 2020 in SuiteFlow.
Add Comment
1 Answer(s)

You are able to trigger a workflow from script. You could create a suitelet that executes  a workflow for the record by specifying that as a parameter in the request url

var workflowInstanceId = workflow.trigger({
recordType: record.Type.XXX,
recordId: XXXX,
workflowId: ‘XXXX’,
actionId: ‘workflowactionXXX’,
stateId: ‘workflowstateXX’
});

Beginner Answered on January 24, 2020.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.
  • This site made possible by our sponsors:   Tipalti   Celigo   Limebox   Become a Sponsor