How do I add the 'show workflow' link to a form?

luimol
Kilo Expert

I created an application with its respective form and workflow. I can submit the request, update it, and even look at its respective workflow. However, the form itself is missing the 'show workflow' link under the Related Links heading. I want to know why it's missing and how I can add it to it.

Normally when I create the form the link is already there. I don't have to add it.

I'll appreciate your input.

1 ACCEPTED SOLUTION

Click on the client checkbox to have onClick action box.


View solution in original post

14 REPLIES 14

Sure! I was looking for something like that but I couldn't find it. What do I mark?


dan.bruhn...Can you please help to mark this thread answered.


Hi Pradeep,



I've updated the discussion to reflect "correct answer".



Thanks,


Hi Pradeep,



Is it possible that you explain me this code?



function showWorkflowContext() {


    var id = g_form.getUniqueValue().toString();


    var url = new GlideURL('context_workflow.do');


    url.addParam('sysparm_stack', 'no');


    url.addParam('sysparm_table', g_form.getTableName());


    url.addParam('sysparm_document', id);


    g_navigation.open(url.getURL(), "_blank")


}


Thanks Pradeep, the solution worked for mr