- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2023 02:02 AM
HI,
We are working on FSM and getting customer sign each work workorder task after completion on agent mobile device , but unfortunately it doesn;t seems attaching with WO or WOT , not even in signature_image table. Please advise where can we find the signature.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2023 11:18 PM
I couldn't find any solution , so finally below steps were done.
1) mobile builder - Create function instance and a function Sign and Confirm button same as work order , Application - Field service mobile
2) Application Global - Buininess rule - Signature Capture WO PDF Generation updated to capture details for wm_task table
else if (tableName == 'wm_task') // Else if added ,it will be executed on sign on work order task form
{
var sm1 = new sn_sm.SMConfiguration();
if (sm1.isEnabled('field_service', 'pdf_order_summary', false))
{
gs.info("Signature capture PDf Generation BR elseif wm_task -tablename ,woSysId , SignedName as " + tableName +","+ woSysId +","+ signedName );
new GeneralWO_WOT_Form(tableName, woSysId, signedName).generate(); // New function created for Work order task
}
}
3) Script include changes - ADDITION OF BELOW FUNCTION
// Created below function when SysID of task apperas in targetID
_getWOTaskGrtWOT : function() {
var gr = new GlideRecord("wm_task");
gr.addQuery('sys_id', this.targetId);
gr.query();
return gr;
},
--------
MAKE CHANGE IN parsedBody , grwo to gr
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2023 11:18 PM
I couldn't find any solution , so finally below steps were done.
1) mobile builder - Create function instance and a function Sign and Confirm button same as work order , Application - Field service mobile
2) Application Global - Buininess rule - Signature Capture WO PDF Generation updated to capture details for wm_task table
else if (tableName == 'wm_task') // Else if added ,it will be executed on sign on work order task form
{
var sm1 = new sn_sm.SMConfiguration();
if (sm1.isEnabled('field_service', 'pdf_order_summary', false))
{
gs.info("Signature capture PDf Generation BR elseif wm_task -tablename ,woSysId , SignedName as " + tableName +","+ woSysId +","+ signedName );
new GeneralWO_WOT_Form(tableName, woSysId, signedName).generate(); // New function created for Work order task
}
}
3) Script include changes - ADDITION OF BELOW FUNCTION
// Created below function when SysID of task apperas in targetID
_getWOTaskGrtWOT : function() {
var gr = new GlideRecord("wm_task");
gr.addQuery('sys_id', this.targetId);
gr.query();
return gr;
},
--------
MAKE CHANGE IN parsedBody , grwo to gr
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2025 09:32 AM
Did you create the new Script Include (GeneralWO_WOT_Form)? Could you please provide a brief explanation of the solution? I’m having trouble creating it even after following the steps above.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2025 03:39 PM
you need to go to sm_config to enable signature.