How to Add already created 'Show Flow' Related Link on 'Case' table form layout.

Para5
Tera Guru

There is already created Related Link present on Task SLA table. But I want to move this related link on my 'Case' [sn_custmonerservice] table.

How to achieve this.Thanks


2 REPLIES 2

MrMuhammad
Giga Sage

Hi Sonu,

The existing Show flow UI action can't be moved to the case table as it depends on data from the task SLA table. You can create a similar UI action for the Case table. 

Regards,

Muhammad

Regards,
Muhammad

Hi Muhammad
I have created same UI Action on Case Table but I not getting values of following items. when I click on Show Flow related link on Case table.Thus I am unable to navigate to the  flow URL.

1] g_scratchpad.flowData.hasMultipleFlows
2] g_scratchpad.flowData.flowId 

function showFlowContext() {
    var url;
    if (g_scratchpad.flowData.hasMultipleFlows === false && g_scratchpad.flowData.flowId !== "") {
        url = new GlideURL("/$flow-designer.do#/operations/context/" + g_scratchpad.flowData.flowId);
    } else {
        url = new GlideURL("sys_flow_context_list.do");
        url.addParam("sysparm_fixed_query", g_scratchpad.flowData.flowQuery);
    }

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