{"id":89039,"date":"2020-06-15T17:38:05","date_gmt":"2020-06-15T08:38:05","guid":{"rendered":"https:\/\/support.questetra.com\/?p=89039"},"modified":"2022-06-01T15:36:08","modified_gmt":"2022-06-01T06:36:08","slug":"master-table-create-by-tsv-string","status":"publish","type":"post","link":"https:\/\/support.questetra.com\/en\/addons\/master-table-create-by-tsv-string\/","title":{"rendered":"Master Table, Create by TSV String"},"content":{"rendered":"<div class=\"su-note\"  style=\"border-color:#e5dab2;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;\"><div class=\"su-note-inner su-u-clearfix su-u-trim\" style=\"background-color:#FFF4CC;border-color:#ffffff;color:#333333;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;\">\n<h3><i class=\"fal fa-exclamation-circle\"><\/i> PAGE UPDATED<\/h3>\n<div style=\"text-align: center;\"><i class=\"fal fa-truck fa-lg\"><\/i> <a href=\"https:\/\/support.questetra.com\/en\/addons\/master-table-create-by-tsv-string-2021\/_\">https:\/\/support.questetra.com\/en\/addons\/master-table-create-by-tsv-string-2021\/<\/a><\/div>\n<\/div><\/div>\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1200\" height=\"68\" data-attachment-id=\"89186\" data-permalink=\"https:\/\/support.questetra.com\/en\/maintenance\/maintenance-20251117\/attachment\/professional-banner-en\/\" data-orig-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/professional-banner-en.png?fit=1200%2C68&amp;ssl=1\" data-orig-size=\"1200,68\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"professional-banner-en\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/professional-banner-en.png?fit=1024%2C58&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/professional-banner-en.png?resize=1200%2C68&#038;ssl=1\" alt=\"\" class=\"wp-image-89186\" srcset=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/professional-banner-en.png?w=1200&amp;ssl=1 1200w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/professional-banner-en.png?resize=600%2C34&amp;ssl=1 600w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/professional-banner-en.png?resize=1024%2C58&amp;ssl=1 1024w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/professional-banner-en.png?resize=768%2C44&amp;ssl=1 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/figure>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n<div class=\"su-box su-box-style-default\" id=\"\" style=\"border-color:#003e04;border-radius:0px;max-width:none\"><div class=\"su-box-title\" style=\"background-color:#267137;color:#ffffff;border-top-left-radius:0px;border-top-right-radius:0px\">Master Table, Create by TSV String<\/div><div class=\"su-box-content su-u-clearfix su-u-trim\" style=\"border-bottom-left-radius:0px;border-bottom-right-radius:0px\">\n\n\n\n<p class=\"wp-block-paragraph\">Creates a new master file (OptionsXML) by referring to TSV String. The specified column data are set as Master IDs, and the others are set as Master Labels. For automation, place [Service Task (Choices Update)] downstream.<\/p>\n\n\n<\/div><\/div>\n\n\n\n<p class=\"has-text-align-right wp-block-paragraph\">2020-06-15 (C) Questetra, Inc. (MIT License)<br>\n<a href=\"https:\/\/support.questetra.com\/en\/addons\/master-table-create-by-tsv-string\/\">https:\/\/support.questetra.com\/en\/addons\/master-table-create-by-tsv-string\/<\/a><\/p>\n\n\n<div class=\"su-spoiler su-spoiler-style-modern-light su-spoiler-icon-plus-square-1\" data-anchor=\"configs\" data-scroll-offset=\"0\" data-anchor-in-url=\"no\"><div class=\"su-spoiler-title\" tabindex=\"0\" role=\"button\"><span class=\"su-spoiler-icon\"><\/span>Configs<\/div><div class=\"su-spoiler-content su-u-clearfix su-u-trim\">\n\n\n\n<ul class=\"fa-ul\">\n<li> A: Set TSV String<span style=\"color:#990000;\"> *<\/span><span style=\"color:#000099;\"> <sup style=\"font-style:italic;\">#{EL}<\/sup><\/span><\/li>\n<li> B1: Set Column-Number that will be Master-IDs (eg. &#8220;0&#8221;)<span style=\"color:#990000;\"> *<\/span><span style=\"color:#000099;\"> <sup style=\"font-style:italic;\">#{EL}<\/sup><\/span><\/li>\n<li> B2: Set Separator between Label elements (eg. &#8220;*&#8221;)<span style=\"color:#000099;\"> <sup style=\"font-style:italic;\">#{EL}<\/sup><\/span><\/li>\n<li> C0: Set Name of Master File (eg. &#8220;foo.xml&#8221;)<span style=\"color:#990000;\"> *<\/span><span style=\"color:#000099;\"> <sup style=\"font-style:italic;\">#{EL}<\/sup><\/span><\/li>\n<li> C1: Select FILES DATA for Master File (append)<span style=\"color:#990000;\"> *<\/span><\/li>\n<li> C2: Select STRING DATA for List of Master IDs (update)<\/li>\n<li> C3: Select STRING DATA for List of Master Labels (update)<\/li>\n<\/ul>\n\n\n<\/div><\/div>\n\n\n<div class=\"su-spoiler su-spoiler-style-modern-light su-spoiler-icon-plus-square-1 su-spoiler-closed\" data-anchor=\"script\" data-scroll-offset=\"0\" data-anchor-in-url=\"no\"><div class=\"su-spoiler-title\" tabindex=\"0\" role=\"button\"><span class=\"su-spoiler-icon\"><\/span>Script<\/div><div class=\"su-spoiler-content su-u-clearfix su-u-trim\">\n\n\n\n<pre class=\"wp-block-code\"><code>\/\/ Nashorn Script (engine type: 1)\n\/\/ \n\/\/ Notes:\n\/\/ When &#091;service task (update option master)] is placed downstream\n\/\/ - add Select-Type data item and refer to the ID-list and the Label-list\n\/\/ - https:\/\/support.questetra.com\/bpmn-icons\/service-task-choices-update\/\n\/\/ - https:\/\/questetra.zendesk.com\/hc\/en-us\/articles\/360002260151-M208\n\/\/ \n\/\/ Notes(ja):\n\/\/ \u4e0b\u6d41\u306b\uff3b\u30b5\u30fc\u30d3\u30b9\u30bf\u30b9\u30af\uff08\u9078\u629e\u80a2\u30de\u30b9\u30bf\u66f4\u65b0\uff09\uff3d\u3092\u914d\u7f6e\u3059\u308b\u5834\u5408\n\/\/ - \u5225\u9014\u3001\u9078\u629e\u80a2\u578b\u30c7\u30fc\u30bf\u3092\u5b9a\u7fa9\u3057\u3001ID\u4e00\u89a7\u3068Label\u4e00\u89a7\u3092\u53c2\u7167\u3055\u305b\u307e\u3059\n\/\/ - https:\/\/support.questetra.com\/ja\/bpmn-icons\/service-task-choices-update\/\n\/\/ - https:\/\/questetra.zendesk.com\/hc\/en-us\/articles\/360002260151-M208\n\/\/ \n\/\/ id = value, label = display\n\n\/*\n Questetra BPMS V12.0 (released 2020-05-11)\n - configs.getObject()\n - engine.findData()\n - engine.setData()\n*\/\n\n\/\/\/\/\/\/\/\/ START \"main()\" \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\nmain();\nfunction main(){ \n\n\/\/\/\/ == Config Retrieving \/ \u5de5\u7a0b\u30b3\u30f3\u30d5\u30a3\u30b0\u306e\u53c2\u7167 ==\nconst strTsv                = configs.get( \"strSetConfA\" )  + \"\";  \/\/ required\nconst strColumnId           = configs.get( \"strSetConfB1\" ) + \"\";  \/\/ required\nlet   strSeparator          = configs.get( \"strSetConfB2\" ) + \"\";  \/\/ not\nconst strMasterName         = configs.get( \"strSetConfC0\" ) + \"\";  \/\/ required\nconst pocketFilesMaster     = configs.getObject( \"SelectConfC1\" ); \/\/ required\nconst pocketStrOptionIds    = configs.getObject( \"SelectConfC2\" ); \/\/ not\nconst pocketStrOptionLabels = configs.getObject( \"SelectConfC3\" ); \/\/ not\n\nif( strTsv === \"\" ){\n  throw new Error( \"\\n AutomatedTask ConfigError:\" +\n                   \" Config {TSV A} is empty \\n\" );\n}\nconst numColumnId = parseInt( strColumnId );\nengine.log( \" AutomatedTask StringColumnId:\" + \n            \" String {B1}: \" + numColumnId );\nif( isNaN( numColumnId ) ){\n  throw new Error( \"\\n AutomatedTask ConfigError:\" +\n                   \" Config {Column-Number B1} is not an integer \\n\" );\n}\nengine.log( \" AutomatedTask SeparatorInLabel:\" + \n            \" String {B2}: \" + strSeparator );\nif( strSeparator === \"\" ){\n  engine.log( \" AutomatedTask ConfigWarning:\" +\n              \" Config {strSeparator B2} is empty or not configed\" );\n\/\/  strSeparator = \"*\";\n}\nif( strMasterName === \"\" ){\n  throw new Error( \"\\n AutomatedTask ConfigError:\" +\n                   \" Config {MasterFile Name C0} is empty \\n\" );\n}\n\n\n\/\/\/\/ == Data Retrieving \/ \u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u30c7\u30fc\u30bf\u306e\u53c2\u7167 ==\nlet filesMaster = engine.findData( pocketFilesMaster ); \nif( filesMaster === null ){\n  filesMaster = new java.util.ArrayList();\n  \/\/ java.util.ArrayList\n  \/\/ - com.questetra.bpms.core.event.scripttask.QfileView\n}\n\n\n\/\/\/\/ == Calculating \/ \u6f14\u7b97 ==\nlet strOptionIds    = \"\";\nlet strOptionLabels = \"\";\n\nconst arrStrTsv = strTsv.split(\"\\n\");\nengine.log( \" AutomatedTask StringTsv: \" + \n            arrStrTsv.length + \" lines\" );\n\nlet arrTmpRow;\nfor( let i = 0; i &lt; arrStrTsv.length; i++ ){\n  arrTmpRow = arrStrTsv&#091;i].split(\"\\t\");\n  if( arrTmpRow.length &lt; 2 ){\n    throw new Error( \"\\n AutomatedTask UnexpectedTsvError:\" +\n                     \" #of columns is less than 2 at line \" + i + \" \\n\" );\n  }\n  if( arrTmpRow.length &lt; numColumnId ){\n    throw new Error( \"\\n AutomatedTask UnexpectedTsvError:\" +\n                     \" #of columns is less than Col-Num at line \" + i + \" \\n\" );\n  }\n  for( let j = 0; j &lt; arrTmpRow.length; j++ ){\n    if( j === numColumnId ){\n      strOptionIds    += arrTmpRow&#091;j] + \"\\n\";\n    }else{\n      strOptionLabels += arrTmpRow&#091;j] + strSeparator;\n    }\n  }\n  if( strSeparator.length !== 0 ){\n    strOptionLabels = strOptionLabels.slice( 0, (- strSeparator.length) );\n  }\n  strOptionLabels = strOptionLabels + \"\\n\";\n}\nstrOptionIds    = strOptionIds.slice( 0, -1 );\nstrOptionLabels = strOptionLabels.slice( 0, -1 );\n\nlet xmlNew = '&lt;?xml version=\"1.0\" encoding=\"UTF-8\"?&gt;&lt;items&gt;\\n';\nlet arrOptionIds    = strOptionIds.split(\"\\n\");\nlet arrOptionLabels = strOptionLabels.split(\"\\n\");\nfor( let i = 0; i &lt; arrOptionIds.length; i++ ){\n  xmlNew += '&lt;item value=\"';\n  xmlNew += arrOptionIds&#091;i];\n  xmlNew += '\" display=\"';\n  xmlNew += arrOptionLabels&#091;i];\n  xmlNew += '\" \/&gt;\\n';\n}\nxmlNew += \"&lt;\/items&gt;\";\n\nfilesMaster.add(\n  new com.questetra.bpms.core.event.scripttask.NewQfile(\n    strMasterName, \"text\/xml\", xmlNew\n  )\n);\n\n\n\/\/\/\/ == Data Updating \/ \u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u30c7\u30fc\u30bf\u3078\u306e\u4ee3\u5165 ==\nengine.setData( pocketFilesMaster, filesMaster ); \/\/ FILES\nif( pocketStrOptionIds !== null ){     \/\/ STRING\n  engine.setData( pocketStrOptionIds, strOptionIds );\n}\nif( pocketStrOptionLabels !== null ){  \/\/ STRING\n  engine.setData( pocketStrOptionLabels, strOptionLabels );\n}\n\n} \/\/\/\/\/\/\/\/ END \"main()\" \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/<\/code><\/pre>\n\n\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"alignright\"><img decoding=\"async\" src=\"data:image;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAACqUlEQVRYR8WX30tTYRjHP8cLiwaV\niyKaRKTIUKQM1mXQkG68S7oo66IabOZNQZLgjYIISVAXkhu4JhTb3f4ALwxiV1lqF5MVQl0UCGlL\nxClu7sTZ6W3nh9Pt5HbO1Q7n+fHd9\/k+z\/O+EjY\/Utn5QxxB5joSV5HpQOIc0PDXP43MNyTmkXmL\nRBw\/mXJi7w8gwmm2eQIEgMPlBAW2gCD1POUuy3v57A0gSACJZ4CjzMRGsw1kHhMgWMq\/NIAQL4Fe\ni4mNbhP4ebBbrN0BBIkicfOAkqthZGIEuGWMaQZwsP98Xyb0ANSaTyheXWe7cB5yks1nSSwnaDnW\ngsvhskRK6neK2Z+zgolerSaKAFS1LwnBJW8kaW1oZT27Tl+ij4GLA4V3K084Fcb3zidcN6inWXRH\nEUCI58BDYVVFAEqKF\/h5pPxQAShDBla1fT56eZRGRyObuU0inyN4XV7cx91WCGDmxwxTX6a0vsqc\nOKEMKxVAkNtIvNZaeM94CzX\/Xw3syDssrC6wmF7Ug5e5Q4A3goEwcE9rUeUSKKle4ee+YGAOiY6a\nApCZJ8AlwcAvzWIp4Ji8MonnlIeVrRUG3w\/Sfb6bTlcndVJdRTrI5XMFDY0nx41+afw4BQDZ+FVo\nIJPLMP19Gs9Jj6U5UFIDSkI\/UkkANdCADoCpBDUAoClBEJMIo94obc421rbXGPowhM\/tK7xX+uTl\nPLGlGGOfxoxtqBOhqQ0rTWTBXteGpkFkLEH\/hX7ane0W8oBhF4ilpBtEplFcZQ0YRrG6D3TLKH4t\nTtPRJpQ2HJkboae5x5IGlNDxr3GGPw5r2TMsI+WTYR1b4ro8pxLrWF1K\/w4k5cWyYCVT4kAiYtl6\nJBMgbD2UVoeJCo\/lRSZsvJgIELZezbQit+1yaqHTKnH5A\/BLQDDnE9nfAAAAAElFTkSuQmCC\" alt=\"\"\/><\/figure><\/div>\n\n\n<div class=\"su-divider su-divider-style-dashed\" style=\"margin:30px 0;border-width:8px;border-color:#009900\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><i class=\"fal fa-cloud-download-alt\"><\/i> Download<\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/drive.google.com\/file\/d\/1ziaU-pkNtDt7ymZJ_kHiIaDk74DXktNl\/view?usp=sharing\" target=\"_blank\" rel=\"noreferrer noopener\">Master-Table-Create-by-Tsv-String.xml<\/a><\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><i class=\"fal fa-images\"><\/i> Capture<\/h3>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" decoding=\"async\" data-attachment-id=\"84005\" data-permalink=\"https:\/\/support.questetra.com\/en\/bpmn-icons\/onedrive-file-upload\/attachment\/setting-service-task-pdf-generation-en\/\" data-orig-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/01\/setting-service-task-pdf-generation-en.png?fit=959%2C833&amp;ssl=1\" data-orig-size=\"959,833\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"setting-service-task-pdf-generation-en\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/01\/setting-service-task-pdf-generation-en.png?fit=725%2C630&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/master-table-create-by-tsv.png?ssl=1\" alt=\"\" class=\"wp-image-84005\" style=\"border:10px solid #aaaaaa; padding:5px; margin:5px;\"><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Master-Table-Create-by-TSV-String-capture-en.png?ssl=1\" target=\"_blank\" rel=\"noopener noreferrer\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1200\" height=\"675\" data-attachment-id=\"89042\" data-permalink=\"https:\/\/support.questetra.com\/en\/addons\/master-table-create-by-tsv-string\/attachment\/master-table-create-by-tsv-string-capture-en\/\" data-orig-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Master-Table-Create-by-TSV-String-capture-en.png?fit=1200%2C675&amp;ssl=1\" data-orig-size=\"1200,675\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Master-Table-Create-by-TSV-String-capture-en\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Master-Table-Create-by-TSV-String-capture-en.png?fit=1024%2C576&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Master-Table-Create-by-TSV-String-capture-en.png?resize=1200%2C675&#038;ssl=1\" alt=\"Creates a new master file (OptionsXML) by referring to TSV String. The specified column data are set as Master IDs, and the others are set as Master Labels. For automation, place [Service Task (Choices Update)] downstream.\" class=\"wp-image-89042\" srcset=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Master-Table-Create-by-TSV-String-capture-en.png?w=1200&amp;ssl=1 1200w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Master-Table-Create-by-TSV-String-capture-en.png?resize=560%2C315&amp;ssl=1 560w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Master-Table-Create-by-TSV-String-capture-en.png?resize=1024%2C576&amp;ssl=1 1024w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Master-Table-Create-by-TSV-String-capture-en.png?resize=768%2C432&amp;ssl=1 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/a><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><i class=\"fal fa-lightbulb-exclamation\"><\/i> Notes<\/h3>\n\n\n\n<ol class=\"wp-block-list\"><li>When [service task (update option master)] is placed downstream<ul><li>add Select-Type data item and refer to the ID-list and the Label-list<\/li><li><a href=\"https:\/\/support.questetra.com\/en\/bpmn-icons\/service-task-choices-update\/\">https:\/\/support.questetra.com\/bpmn-icons\/service-task-choices-update\/<\/a><\/li><li><a href=\"https:\/\/questetra.zendesk.com\/hc\/en-us\/articles\/360002260151-M208\">https:\/\/questetra.zendesk.com\/hc\/en-us\/articles\/360002260151-M208<\/a><\/li><\/ul><\/li><\/ol>\n\n\n\n<h3 class=\"wp-block-heading\"><i class=\"fal fa-balance-scale\"><\/i> See also<\/h3>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-wordpress wp-block-embed-wordpress is-provider-questetra-support\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"LUXcO3WPip\"><a href=\"https:\/\/support.questetra.com\/en\/addons\/master-table-update\/\">Master Table, Update<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"\u201cMaster Table, Update\u201d \u2014 Questetra Support\" src=\"https:\/\/support.questetra.com\/en\/addons\/master-table-update\/embed\/#?secret=HDIfzbpX6e#?secret=LUXcO3WPip\" data-secret=\"LUXcO3WPip\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Creates a new master file (OptionsXML) by referring to TSV String. The specified column data are set as Master IDs, and the others are set as Master Labels. For automation, place [Service Task (Choices Update)] downstream.<\/p>\n","protected":false},"author":2,"featured_media":89040,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","_uag_custom_page_level_css":"","advanced_seo_description":"Creates a new master file (OptionsXML) by referring to TSV String. The specified column data are set as Master IDs, and the others are set as Master Labels. For automation, place [Service Task (Choices Update)] downstream.","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_seo_schema_type":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_wpcom_ai_launchpad_first_post":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_wpas_customize_per_network":false,"jetpack_post_was_ever_published":false},"categories":[168],"tags":[],"faq_section":[],"class_list":["post-89039","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-addons"],"jetpack_publicize_connections":[],"uagb_featured_image_src":{"full":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Master-Table-Create-by-TSV-String-en.png?fit=1200%2C675&ssl=1",1200,675,false],"thumbnail":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Master-Table-Create-by-TSV-String-en.png?resize=440%2C440&ssl=1",440,440,true],"medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Master-Table-Create-by-TSV-String-en.png?fit=560%2C315&ssl=1",560,315,true],"medium_large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Master-Table-Create-by-TSV-String-en.png?fit=768%2C432&ssl=1",768,432,true],"large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Master-Table-Create-by-TSV-String-en.png?fit=1024%2C576&ssl=1",1024,576,true],"1536x1536":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Master-Table-Create-by-TSV-String-en.png?fit=1200%2C675&ssl=1",1200,675,true],"2048x2048":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Master-Table-Create-by-TSV-String-en.png?fit=1200%2C675&ssl=1",1200,675,true],"newspack-article-block-landscape-large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Master-Table-Create-by-TSV-String-en.png?resize=1200%2C675&ssl=1",1200,675,true],"newspack-article-block-portrait-large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Master-Table-Create-by-TSV-String-en.png?resize=900%2C675&ssl=1",900,675,true],"newspack-article-block-square-large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Master-Table-Create-by-TSV-String-en.png?resize=1200%2C675&ssl=1",1200,675,true],"newspack-article-block-landscape-medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Master-Table-Create-by-TSV-String-en.png?resize=800%2C600&ssl=1",800,600,true],"newspack-article-block-portrait-medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Master-Table-Create-by-TSV-String-en.png?resize=600%2C675&ssl=1",600,675,true],"newspack-article-block-square-medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Master-Table-Create-by-TSV-String-en.png?resize=800%2C675&ssl=1",800,675,true],"newspack-article-block-landscape-intermediate":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Master-Table-Create-by-TSV-String-en.png?resize=600%2C450&ssl=1",600,450,true],"newspack-article-block-portrait-intermediate":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Master-Table-Create-by-TSV-String-en.png?resize=450%2C600&ssl=1",450,600,true],"newspack-article-block-square-intermediate":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Master-Table-Create-by-TSV-String-en.png?resize=600%2C600&ssl=1",600,600,true],"newspack-article-block-landscape-small":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Master-Table-Create-by-TSV-String-en.png?resize=400%2C300&ssl=1",400,300,true],"newspack-article-block-portrait-small":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Master-Table-Create-by-TSV-String-en.png?resize=300%2C400&ssl=1",300,400,true],"newspack-article-block-square-small":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Master-Table-Create-by-TSV-String-en.png?resize=400%2C400&ssl=1",400,400,true],"newspack-article-block-landscape-tiny":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Master-Table-Create-by-TSV-String-en.png?resize=200%2C150&ssl=1",200,150,true],"newspack-article-block-portrait-tiny":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Master-Table-Create-by-TSV-String-en.png?resize=150%2C200&ssl=1",150,200,true],"newspack-article-block-square-tiny":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Master-Table-Create-by-TSV-String-en.png?resize=200%2C200&ssl=1",200,200,true],"newspack-article-block-uncropped":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Master-Table-Create-by-TSV-String-en.png?fit=1200%2C675&ssl=1",1200,675,true]},"uagb_author_info":{"display_name":"IMAMURA, Genichi","author_link":"https:\/\/support.questetra.com\/en\/author\/imamuragenichi\/"},"uagb_comment_info":1,"uagb_excerpt":"Creates a new master file (OptionsXML) by referring to TSV String. The specified column data are set as Master IDs, and the others are set as Master Labels. For automation, place [Service Task (Choices Update)] downstream.","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9DiIh-na7","jetpack-related-posts":[{"id":110464,"url":"https:\/\/support.questetra.com\/en\/addons\/master-table-create-by-tsv-string-2021\/","url_meta":{"origin":89039,"position":0},"title":"Master Table, Create by TSV String","author":"Hirotaka NISHI","date":"2021-08-02","format":false,"excerpt":"","rel":"","context":"In &quot;Add-ons&quot;","block_context":{"text":"Add-ons","link":"https:\/\/support.questetra.com\/en\/category\/addons\/"},"img":{"alt_text":"Master Table, Create by TSV String","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Master-Table-Create-by-TSV-String-en.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Master-Table-Create-by-TSV-String-en.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Master-Table-Create-by-TSV-String-en.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Master-Table-Create-by-TSV-String-en.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Master-Table-Create-by-TSV-String-en.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":88954,"url":"https:\/\/support.questetra.com\/en\/addons\/master-table-list-all-options-as-tsv-string\/","url_meta":{"origin":89039,"position":1},"title":"Master Table, List All Options as TSV String","author":"IMAMURA, Genichi","date":"2021-02-17","format":false,"excerpt":"Includes the master table on Workflow Platform as a string property of the process. The IDs and Labels are concatenated into TSV (Tab-Separated Values) and stored into Multiline-String type.","rel":"","context":"In &quot;Add-ons&quot;","block_context":{"text":"Add-ons","link":"https:\/\/support.questetra.com\/en\/category\/addons\/"},"img":{"alt_text":"Master Table: List All Options as TSV String","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Master-Table-List-All-Options-as-TSV-String-en.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Master-Table-List-All-Options-as-TSV-String-en.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Master-Table-List-All-Options-as-TSV-String-en.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Master-Table-List-All-Options-as-TSV-String-en.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Master-Table-List-All-Options-as-TSV-String-en.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":88935,"url":"https:\/\/support.questetra.com\/en\/addons\/master-table-update\/","url_meta":{"origin":89039,"position":2},"title":"Master Table, Update","author":"IMAMURA, Genichi","date":"2021-02-17","format":false,"excerpt":"Creates a new master file (OptionsXML) by referring to the master table on Workflow Platform. A new ID-Label will be added to the first line. Rows with the same ID are deleted. For automation, place [Service Task (Choices Update)] downstream.","rel":"","context":"In &quot;Add-ons&quot;","block_context":{"text":"Add-ons","link":"https:\/\/support.questetra.com\/en\/category\/addons\/"},"img":{"alt_text":"Master Table: Update","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Master-Table-Update-en.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Master-Table-Update-en.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Master-Table-Update-en.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Master-Table-Update-en.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Master-Table-Update-en.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":89046,"url":"https:\/\/support.questetra.com\/ja\/addons\/master-table-create-by-tsv-string\/","url_meta":{"origin":89039,"position":3},"title":"\u30de\u30b9\u30bf\u30fc\u30c6\u30fc\u30d6\u30eb, TSV\u6587\u5b57\u5217\u3067\u751f\u6210","author":"IMAMURA, Genichi","date":"2020-06-15","format":false,"excerpt":"TSV\u6587\u5b57\u5217\u3092\u53c2\u7167\u3057\u3066\u3001\u30de\u30b9\u30bf\u30fc\u30d5\u30a1\u30a4\u30eb\u3092\u751f\u6210\u3057\u307e\u3059\u3002TSV\u30c7\u30fc\u30bf\u5185\u306e\u6307\u5b9a\u30ab\u30e9\u30e0\u5217\u30c7\u30fc\u30bf\u304c Master IDs \u3068\u3057\u3066\u3001\u305d\u308c\u4ee5\u5916\u304c Master Labels \u3068\u3057\u3066\u3001\u30bb\u30c3\u30c8\u3055\u308c\u305f\u9078\u629e\u80a2\u30de\u30b9\u30bf\uff08OptionsXML\uff09\u304c\u751f\u6210\u3055\u308c\u307e\u3059\u3002\u4e0b\u6d41\u5de5\u7a0b\u306b\uff3b\u30b5\u30fc\u30d3\u30b9\u30bf\u30b9\u30af\uff08\u9078\u629e\u80a2\u30de\u30b9\u30bf\u66f4\u65b0\uff09\uff3d \u3092\u914d\u7f6e\u3059\u308c\u3070\u3001\u66f4\u65b0\u696d\u52d9\u3092\u81ea\u52d5\u5316\u3067\u304d\u307e\u3059\u3002","rel":"","context":"In &quot;\u30a2\u30c9\u30aa\u30f3&quot;","block_context":{"text":"\u30a2\u30c9\u30aa\u30f3","link":"https:\/\/support.questetra.com\/ja\/category\/addons\/"},"img":{"alt_text":"\u30de\u30b9\u30bf\u30fc\u30c6\u30fc\u30d6\u30eb, TSV\u6587\u5b57\u5217\u3067\u751f\u6210","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Master-Table-Create-by-TSV-String-ja.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Master-Table-Create-by-TSV-String-ja.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Master-Table-Create-by-TSV-String-ja.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Master-Table-Create-by-TSV-String-ja.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Master-Table-Create-by-TSV-String-ja.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":89073,"url":"https:\/\/support.questetra.com\/en\/addons\/master-table-update-to-delete-options\/","url_meta":{"origin":89039,"position":4},"title":"Master Table, Update to Delete Options","author":"IMAMURA, Genichi","date":"2021-02-17","format":false,"excerpt":"Deletes unnecessary Options and Creates a new master file (OptionsXML) by referring to the master table on Workflow Platform. No error occurs even if the deletion ID does not exist. For automation, place [Service Task (Choices Update)] downstream.","rel":"","context":"In &quot;Add-ons&quot;","block_context":{"text":"Add-ons","link":"https:\/\/support.questetra.com\/en\/category\/addons\/"},"img":{"alt_text":"Master Table: Update to Delete Options","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Master-Table-Update-to-Delete-Options-en.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Master-Table-Update-to-Delete-Options-en.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Master-Table-Update-to-Delete-Options-en.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Master-Table-Update-to-Delete-Options-en.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Master-Table-Update-to-Delete-Options-en.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":82492,"url":"https:\/\/support.questetra.com\/en\/addons\/string-decode-using-master-table\/","url_meta":{"origin":89039,"position":5},"title":"String, Decode using Master Table","author":"IMAMURA, Genichi","date":"2021-02-17","format":false,"excerpt":"Converts ID string to Label string with referring \"Choice Master\" shared within the workflow platform. If there is no matching ID, it is converted to an empty string.","rel":"","context":"In &quot;Add-ons&quot;","block_context":{"text":"Add-ons","link":"https:\/\/support.questetra.com\/en\/category\/addons\/"},"img":{"alt_text":"String, Decode using Master Table","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/12\/String-Decode-using-Master-Table-en.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/12\/String-Decode-using-Master-Table-en.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/12\/String-Decode-using-Master-Table-en.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/12\/String-Decode-using-Master-Table-en.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/12\/String-Decode-using-Master-Table-en.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]}],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Master-Table-Create-by-TSV-String-en.png?fit=1200%2C675&ssl=1","_links":{"self":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/89039","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/comments?post=89039"}],"version-history":[{"count":4,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/89039\/revisions"}],"predecessor-version":[{"id":110496,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/89039\/revisions\/110496"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/media\/89040"}],"wp:attachment":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/media?parent=89039"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/categories?post=89039"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/tags?post=89039"},{"taxonomy":"faq_section","embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/faq_section?post=89039"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}