I am not able to see Show workflow button in my custom application.

sachingawas
Kilo Expert

I have added custom application for Review Meeting, and I have added defined workflow for that I can see it is attached and working through Active Context but dont know why it is not showing on Form Review Meeting, Show Workflow Link. Please help how to add that link to Form and How to Approve that request.

1 ACCEPTED SOLUTION

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hi Sachin,



You have to copy the OOB UI action "Show workflow" and then create this on your custom table.


Please let me know if you have any questions.


View solution in original post

3 REPLIES 3

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hi Sachin,



You have to copy the OOB UI action "Show workflow" and then create this on your custom table.


Please let me know if you have any questions.


Hi Pradeep, 

 

I'm facing a similar kind of issue in Scoped App. My requirement is to crate multiple RITMs for multiple roles request group by users' managers. I'm able to create the child RITMS but unable to see the workflow context or Show workflow UI Action on the requested items. Here is the function which I'm using to start workflow for the child RITMs.

Could you please suggest any solution here. I'm able to accomplish this in global though. But the requirement is to be done in Scoped App.

 

function startWorkflow(request)
{
var id=request.cat_item.workflow.toString();
var wf = new global.Workflow();
var context = wf.startFlow(id, request, request.operation(),getVars(request));
if (context != null)
request.context = context.sys_id;
workflow.info('Triggering workflow' + context.sys_id);
}

function getVars(request) {
var vars = {};
for (var n in request.variables)
vars[n] = request.variables[n];

return vars;
}

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Refer the below thread for reference.


https://community.servicenow.com/thread/181887