{"id":110464,"date":"2021-08-02T14:08:04","date_gmt":"2021-08-02T05:08:04","guid":{"rendered":"https:\/\/support.questetra.com\/?p=110464"},"modified":"2021-10-05T16:38:41","modified_gmt":"2021-10-05T07:38:41","slug":"master-table-create-by-tsv-string-2021","status":"publish","type":"post","link":"https:\/\/support.questetra.com\/en\/addons\/master-table-create-by-tsv-string-2021\/","title":{"rendered":"Master Table, Create by TSV String"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><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\"> Creates a new master file (OptionsXML) by referring to the TSV String. The specified column data are set as Master IDs, and the other data is set as Master Labels. By placing a  [Update Choices] in the downstream process, the update task can be automated.<\/div><\/div>\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<ul class=\"fa-ul\">\n<li><span class=\"fa-li\"><i class=\"far fa-edit fa-lg\"><\/i><\/span> A: Set TSV String<span style=\"color:#990000;\"> *<\/span><span style=\"color:#000099;\"><sup style=\"font-style:italic;\">#{EL}<\/sup><\/span><\/li>\n<li><span class=\"fa-li\"><i class=\"far fa-pen-square fa-lg\"><\/i><\/span> 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><span class=\"fa-li\"><i class=\"far fa-pen-square fa-lg\"><\/i><\/span> B2: Set Separator between Label elements (eg. &#8220;*&#8221;)<span style=\"color:#000099;\"><sup style=\"font-style:italic;\">#{EL}<\/sup><\/span><\/li>\n<li><span class=\"fa-li\"><i class=\"far fa-pen-square fa-lg\"><\/i><\/span> 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<\/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 (click to open)<\/div><div class=\"su-spoiler-content su-u-clearfix su-u-trim\">\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>\n\/\/ GraalJS Script (engine type: 2)\n\/\/ \n\/\/ Notes:\n\/\/ When [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 &quot;main()&quot; \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\nmain();\nfunction main(){ \n\n\/\/\/\/ == Config Retrieving \/ \u5de5\u7a0b\u30b3\u30f3\u30d5\u30a3\u30b0\u306e\u53c2\u7167 ==\nconst strTsv                = configs.get( &quot;strSetConfA&quot; )  + &quot;&quot;;  \/\/ required\nconst strColumnId           = configs.get( &quot;strSetConfB1&quot; ) + &quot;&quot;;  \/\/ required\nlet   strSeparator          = configs.get( &quot;strSetConfB2&quot; ) + &quot;&quot;;  \/\/ not\nconst strMasterName         = configs.get( &quot;strSetConfC0&quot; ) + &quot;&quot;;  \/\/ required\nconst pocketFilesMaster     = configs.getObject( &quot;SelectConfC1&quot; ); \/\/ required\nconst pocketStrOptionIds    = configs.getObject( &quot;SelectConfC2&quot; ); \/\/ not\nconst pocketStrOptionLabels = configs.getObject( &quot;SelectConfC3&quot; ); \/\/ not\n\nif( strTsv === &quot;&quot; ){\n  throw new Error( &quot;\\n AutomatedTask ConfigError:&quot; +\n                   &quot; Config {TSV A} is empty \\n&quot; );\n}\nconst numColumnId = parseInt( strColumnId );\nengine.log( &quot; AutomatedTask StringColumnId:&quot; + \n            &quot; String {B1}: &quot; + numColumnId );\nif( isNaN( numColumnId ) ){\n  throw new Error( &quot;\\n AutomatedTask ConfigError:&quot; +\n                   &quot; Config {Column-Number B1} is not an integer \\n&quot; );\n}\nengine.log( &quot; AutomatedTask SeparatorInLabel:&quot; + \n            &quot; String {B2}: &quot; + strSeparator );\nif( strSeparator === &quot;&quot; ){\n  engine.log( &quot; AutomatedTask ConfigWarning:&quot; +\n              &quot; Config {strSeparator B2} is empty or not configed&quot; );\n\/\/  strSeparator = &quot;*&quot;;\n}\nif( strMasterName === &quot;&quot; ){\n  throw new Error( &quot;\\n AutomatedTask ConfigError:&quot; +\n                   &quot; Config {MasterFile Name C0} is empty \\n&quot; );\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    = &quot;&quot;;\nlet strOptionLabels = &quot;&quot;;\n\nconst arrStrTsv = strTsv.split(&quot;\\n&quot;);\nengine.log( &quot; AutomatedTask StringTsv: &quot; + \n            arrStrTsv.length + &quot; lines&quot; );\n\nlet arrTmpRow;\nfor( let i = 0; i &lt; arrStrTsv.length; i++ ){\n  arrTmpRow = arrStrTsv[i].split(&quot;\\t&quot;);\n  if( arrTmpRow.length &lt; 2 ){\n    throw new Error( &quot;\\n AutomatedTask UnexpectedTsvError:&quot; +\n                     &quot; #of columns is less than 2 at line &quot; + i + &quot; \\n&quot; );\n  }\n  if( arrTmpRow.length &lt; numColumnId ){\n    throw new Error( &quot;\\n AutomatedTask UnexpectedTsvError:&quot; +\n                     &quot; #of columns is less than Col-Num at line &quot; + i + &quot; \\n&quot; );\n  }\n  for( let j = 0; j &lt; arrTmpRow.length; j++ ){\n    if( j === numColumnId ){\n      strOptionIds    += arrTmpRow[j] + &quot;\\n&quot;;\n    }else{\n      strOptionLabels += arrTmpRow[j] + strSeparator;\n    }\n  }\n  if( strSeparator.length !== 0 ){\n    strOptionLabels = strOptionLabels.slice( 0, (- strSeparator.length) );\n  }\n  strOptionLabels = strOptionLabels + &quot;\\n&quot;;\n}\nstrOptionIds    = strOptionIds.slice( 0, -1 );\nstrOptionLabels = strOptionLabels.slice( 0, -1 );\n\nlet xmlNew = &#39;&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&lt;items&gt;\\n&#39;;\nlet arrOptionIds    = strOptionIds.split(&quot;\\n&quot;);\nlet arrOptionLabels = strOptionLabels.split(&quot;\\n&quot;);\nfor( let i = 0; i &lt; arrOptionIds.length; i++ ){\n  xmlNew += &#39;&lt;item value=&quot;&#39;;\n  xmlNew += arrOptionIds[i];\n  xmlNew += &#39;&quot; display=&quot;&#39;;\n  xmlNew += arrOptionLabels[i];\n  xmlNew += &#39;&quot; \/&gt;\\n&#39;;\n}\nxmlNew += &quot;&lt;\/items&gt;&quot;;\n\nfilesMaster.add(\n  new com.questetra.bpms.core.event.scripttask.NewQfile(\n    strMasterName, &quot;text\/xml&quot;, 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 &quot;main()&quot; \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n<\/code><\/pre><\/div>\n\n\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"alignright\"><a href=\"#\"><img decoding=\"async\" src=\"data:image;base64,\niVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAACqUlEQVRYR8WX30tTYRjHP8cLiwaV\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\n\" alt=\"\"\/><\/a><\/figure><\/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\/1rj_Hh7kOKMs_7tRZLm70DhBMueIIrPOS\/view?usp=drivesdk\" target=\"_blank\" rel=\"noreferrer noopener\">Master-Table-Create-by-Tsv-String-2021.xml<\/a><\/li><\/ul>\n\n\n\n<p class=\"has-text-align-right has-small-font-size wp-block-paragraph\">2021-07-29 (C) Questetra, Inc. (MIT License)<br><a href=\"https:\/\/support.questetra.com\/en\/addons\/master-table-create-by-tsv-string-2021\/\">https:\/\/support.questetra.com\/addons\/master-table-create-by-tsv-string-2021\/<\/a><br><i class=\"fal fa-info-circle\"><\/i> The Add-on import feature is available with <span style=\"color:#4a86e8\" class=\"has-inline-color\"><strong>Professional<\/strong><\/span> edition.<\/p>\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-lightbulb-exclamation\"><\/i> Notes<\/h3>\n\n\n\n<ol class=\"wp-block-list\"><li>When a [Update Choices] is placed downstream;<ul><li>Add a 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-images\"><\/i> Capture<\/h3>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/08\/master-table-create-by-tsv-en-1.png?ssl=1\" alt=\"\" class=\"wp-image\" 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-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 [Update Choices] 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-balance-scale\"><\/i> See also<\/h3>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-questetra-support wp-block-embed-questetra-support\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"dT5fgyRRro\"><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; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;Master Table, Update&#8221; &#8212; Questetra Support\" src=\"https:\/\/support.questetra.com\/addons\/master-table-update\/embed\/#?secret=bCf5yS4pCm#?secret=dT5fgyRRro\" data-secret=\"dT5fgyRRro\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"[su_box title=\"Master Table, Create by TSV String\" style=\"soft\" box_color=\"#ff99ff\" title_color=\"#000000\" radius=\"0\"] Creates a new master file (OptionsXML) by referring to the TSV String. The specified column data are set as Master IDs, and the other data is set as Master Labels. By placing a  [Service Task (Choices Update)] in the downstream process, the update task can be automated.[\/su_box]\n","protected":false},"author":3,"featured_media":89040,"comment_status":"closed","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":"","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_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"{title}\n\n{excerpt}\n\n{url}","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":[389],"faq_section":[],"class_list":["post-110464","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-addons","tag-tsv-csv"],"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":"Hirotaka NISHI","author_link":"https:\/\/support.questetra.com\/en\/author\/nishiquestetra\/"},"uagb_comment_info":2,"uagb_excerpt":"[su_box title=\"Master Table, Create by TSV String\" style=\"soft\" box_color=\"#ff99ff\" title_color=\"#000000\" radius=\"0\"] Creates a new master file (OptionsXML) by referring to the TSV String. The specified column data are set as Master IDs, and the other data is set as Master Labels. By placing a [Service Task (Choices Update)] in the downstream process, the update task&hellip;","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9DiIh-sJG","jetpack-related-posts":[{"id":89039,"url":"https:\/\/support.questetra.com\/en\/addons\/master-table-create-by-tsv-string\/","url_meta":{"origin":110464,"position":0},"title":"Master Table, Create by TSV String","author":"IMAMURA, Genichi","date":"2020-06-15","format":false,"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.","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":110464,"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":89046,"url":"https:\/\/support.questetra.com\/ja\/addons\/master-table-create-by-tsv-string\/","url_meta":{"origin":110464,"position":2},"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":71382,"url":"https:\/\/support.questetra.com\/en\/addons\/converter-table-options\/","url_meta":{"origin":110464,"position":3},"title":"Converter (Table to Options)","author":"Hirotaka NISHI","date":"2018-11-14","format":false,"excerpt":"Convert IDs-Labels defined in Table data to two String type data items. (In order to base registration as Options XML, refer to two String type data from Select type data. Then, refer to the Select type data from [Service Task (Choices Update)].) *Note Columns in the table information A' must\u2026","rel":"","context":"In &quot;Add-ons&quot;","block_context":{"text":"Add-ons","link":"https:\/\/support.questetra.com\/en\/category\/addons\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/11\/converter-table-options-header.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/11\/converter-table-options-header.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/11\/converter-table-options-header.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/11\/converter-table-options-header.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/11\/converter-table-options-header.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":110464,"position":4},"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":78460,"url":"https:\/\/support.questetra.com\/en\/developer-blog\/choices-google-sheets\/","url_meta":{"origin":110464,"position":5},"title":"Utilize Customer Data on Google Sheets as Choices","author":"Hirotaka NISHI","date":"2020-04-23","format":false,"excerpt":"Get the Customer List stored in Google Sheet via API, and save\/use it as the Options Master.","rel":"","context":"In &quot;Questetra Developers Blog&quot;","block_context":{"text":"Questetra Developers Blog","link":"https:\/\/support.questetra.com\/en\/category\/developer-blog\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/07\/google-sheet-choice-master-featured-image.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\/07\/google-sheet-choice-master-featured-image.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/07\/google-sheet-choice-master-featured-image.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/07\/google-sheet-choice-master-featured-image.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/07\/google-sheet-choice-master-featured-image.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\/110464","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\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/comments?post=110464"}],"version-history":[{"count":6,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/110464\/revisions"}],"predecessor-version":[{"id":114687,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/110464\/revisions\/114687"}],"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=110464"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/categories?post=110464"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/tags?post=110464"},{"taxonomy":"faq_section","embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/faq_section?post=110464"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}