{"id":83246,"date":"2024-12-13T09:15:41","date_gmt":"2024-12-13T00:15:41","guid":{"rendered":"https:\/\/support.questetra.com\/?p=83246"},"modified":"2024-12-13T09:30:57","modified_gmt":"2024-12-13T00:30:57","slug":"generator-textfile","status":"publish","type":"post","link":"https:\/\/support.questetra.com\/en\/bpmn-icons\/generator-textfile\/","title":{"rendered":"Generate Text File"},"content":{"rendered":"\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"58\" data-attachment-id=\"113160\" data-permalink=\"https:\/\/support.questetra.com\/en\/developer-blog\/how-to-use-timer-start-event\/attachment\/advanced-banner-new-en\/\" data-orig-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/05\/advanced-banner-new-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=\"advanced-banner-new-en\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/05\/advanced-banner-new-en.png?fit=1024%2C58&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/05\/advanced-banner-new-en-1024x58.png?resize=1024%2C58&#038;ssl=1\" alt=\"\" class=\"wp-image-113160\" srcset=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/05\/advanced-banner-new-en.png?resize=1024%2C58&amp;ssl=1 1024w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/05\/advanced-banner-new-en.png?resize=600%2C34&amp;ssl=1 600w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/05\/advanced-banner-new-en.png?resize=768%2C44&amp;ssl=1 768w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/05\/advanced-banner-new-en.png?w=1200&amp;ssl=1 1200w\" 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\n<h4 class=\"wp-block-heading has-border-color has-product-main-border-color has-white-color has-product-main-background-color has-text-color has-background has-link-color\" style=\"border-width:2px;margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;padding-top:var(--wp--preset--spacing--10);padding-right:var(--wp--preset--spacing--20);padding-bottom:var(--wp--preset--spacing--10);padding-left:var(--wp--preset--spacing--20)\"><strong>Generate Text File<\/strong><\/h4>\n\n\n\n<p class=\"has-text-align-right has-border-color has-product-main-border-color has-white-color has-product-main-background-color has-text-color has-background has-link-color has-small-font-size mt-0 pt-0 wp-block-paragraph\" style=\"border-width:2px;margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;padding-top:0;padding-right:var(--wp--preset--spacing--20);padding-bottom:0;padding-left:var(--wp--preset--spacing--20)\"><a href=\"https:\/\/support.questetra.com\/en\/bpmn-icons\/generator-textfile\/\">\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u751f\u6210<\/a><\/p>\n\n\n\n<p class=\"has-border-color has-product-main-border-color has-text-color has-white-background-color has-background has-link-color mt-0 pt-0 wp-block-paragraph\" style=\"border-width:2px;margin-top:0;margin-right:0;margin-bottom:var(--wp--preset--spacing--30);margin-left:0;padding-top:var(--wp--preset--spacing--20);padding-right:var(--wp--preset--spacing--20);padding-bottom:var(--wp--preset--spacing--20);padding-left:var(--wp--preset--spacing--20)\">This item converts any text into a file and adds it to a File type data item.<\/p>\n\n\n\n<figure class=\"wp-block-image alignright has-custom-border is-style-default\"><img decoding=\"async\" src=\"data:image;base64,\niVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAADQ0lEQVRYR8WXS0gUYRzAf7O4i7ql\nlGSaFxHrFImRiRixgV286clHStZh1w5RoHXwoicJEruYK2YJRWEsFXQIH1GepMIEEQ\/aQ1slo1Lz\nVW6PiW+30XFmdnemgv2OM\/\/Hb\/7PbyRifCTT\/jtIRKYUiWPI5CKRCez4o7+AzBQSI8g8QeIebtbM\n2I4OcIM0AlwEPEC8GaPAN8CLg0vUMBdJJzKAFw8SlwGnScdasVVk6vDgDacfHqCDq0DtXzrWqrXj\n5oyRLWMAL7eRKP9PzkNmZO7goUJrUw8Q4cvtNjudRzvJScmJyJZ\/P5\/Ar4CRjC4SWwFCOW830hTO\ne4p6KMks4cKzC4x+HtWJbbNvw3fcR3xXPOs\/140hZWrVNbEJEKr2V0YFp3YurLoeuhh8P6hzkOxI\nZvHkIgUPCshPzWd8cZz+mX59YTrIVrpjE6CDVuCcVlrrXAF4\/vE5hbsLg+JzX+cYmx9DASjtK6Xp\nUBPDn4apeVpjFIkruDkvXoQAxJCBz9o+j7PFcbfobjDs6iMiMLs6y2TZZPBxz+seyh6XbQCIFNQd\nqCM7OTscgJgTKWJYhQC8nEDiphY1w5mBv9JPy2jLllft4+3YsP0LgOiKKjzcUiLQBZwyApgqn8J+\nzW6Y76q9VcHnE18m6JvpsxIBoXYdN6eVCLxEIjcaQJIjCYfNoYMRFb\/8fdkagMwIHg4qEZhXLZYN\nByIF6gi0FrSStytPBzAwO0DjcKM1AFjAzU4FQDYqVS2AcWNvPlW6wEQRhpTcSJYA2o60Bftbe3r9\nvTS8aLAagS0AplLgjHMi5oL2iLG79mPNKoAqBV5MFWH1vmqytmfpAMYWxvC98VkD0BShqTZ07XGR\nlpCmA5hemWbow5A1AE0bhh1E4eaAUUFaKkLNIDIcxaIL3lW8o\/hRcbQGCL5Xb0Nro1hoGyyj1IRU\neot7TTlXC4n7QH1OfaRdoFlGQjvCOhavK7Mrgx3QPdFtCqghtyEcwCqG61iYjXAhaT7czNn9Z1kK\nLJkCCKbjrU+\/DcNeSBSzYa5k6YnpiJRYOfPr8\/hX\/GqVKFcyRTSml9IokbASAZWsxWv5ZiRi+GOi\nQMT010wd75j9nP5l0s2q\/Qa8EHkw8\/O47gAAAABJRU5ErkJggg==\n\" alt=\"Auto Step icon\" class=\"has-border-color has-ast-global-color-4-border-color\" style=\"border-width:0.5em\"\/><\/figure>\n\n\n\n<div class=\"wp-block-coblocks-accordion\">\n<div class=\"wp-block-coblocks-accordion-item\"><details open><summary class=\"wp-block-coblocks-accordion-item__title\">Basic Configs<\/summary><div class=\"wp-block-coblocks-accordion-item__content\">\n<dl style=\"0 0 -0.7em 0\">\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #C3C3C3;\"><\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">Step Name<\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #C3C3C3;\"><\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">Note<\/dd>\n<\/dl>\n<\/div><\/details><\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-coblocks-accordion\">\n<div class=\"wp-block-coblocks-accordion-item\"><details open><summary class=\"wp-block-coblocks-accordion-item__title\">Configs for this Auto Step<\/summary><div class=\"wp-block-coblocks-accordion-item__content\">\n<dl style=\"0 0 -0.7em 0\">\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #aaa;\">File_DataId<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">C1: File type data item to save text file <span style=\"color:#990000;\"> *<\/span><\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #aaa;\">conf_DeleteOtherFiles<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">C2: Delete other files when saving<\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #aaa;\">File_Name<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">C3: Saving file name<span style=\"color:#990000;\"> *<\/span><span style=\"color:#000099;\"><sup style=\"font-style:italic;\">#{EL}<\/sup><\/span><\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #aaa;\">Text_Data<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">C4: Contents of text file<span style=\"color:#990000;\"> *<\/span><span style=\"color:#000099;\"><sup style=\"font-style:italic;\">#{EL}<\/sup><\/span><\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #aaa;\">conf_CharacterEncoding<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">C5: Character encoding when saving (UTF-8 if not selected)<\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #aaa;\">conf_ContentType<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">C6: File type when saving (text\/plain if not selected)<\/dd>\n\n<\/dl>\n<\/div><\/details><\/div>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><i class=\"fal fa-lightbulb-exclamation\"><\/i> Notes<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>In [C5: Character encoding when saving] you can specify the following types\n<ul class=\"wp-block-list\">\n<li>UTF-8<\/li>\n\n\n\n<li>UTF-16BE with BOM<\/li>\n\n\n\n<li>UTF-16LE with BOM<\/li>\n\n\n\n<li>UTF-16BE without BOM<\/li>\n\n\n\n<li>UTF-16LE without BOM<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>When the character encoding is not selected, the file will be saved as UTF-8<\/li>\n\n\n\n<li>In [C6: File type when saving] you can specify the following types\n<ul class=\"wp-block-list\">\n<li>text\/plain<\/li>\n\n\n\n<li>text\/html<\/li>\n\n\n\n<li>text\/markdown<\/li>\n\n\n\n<li>text\/xml<\/li>\n\n\n\n<li>application\/json<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>When the file type is not selected, the file will be saved as text\/plain<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><i class=\"fal fa-images\"><\/i> Capture<\/h3>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/06\/%E8%8B%B1%E8%AA%9E.png?ssl=1\" style=\"border:10px solid #aaaaaa; padding:5px; margin:5px;\" alt=\"\"><\/figure><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><i class=\"fal fa-balance-scale\"><\/i> See also<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/support.questetra.com\/en\/bpmn-icons\/intermediate-error-catch-event-boundary-type\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"Intermediate Error Catch Event (Boundary Type)\n(opens in a new tab)\">Intermediate Error Catch Event (Boundary Type)<\/a><\/li>\n<\/ul>\n\n\n\n<div class=\"wp-block-coblocks-accordion\">\n<div class=\"wp-block-coblocks-accordion-item\"><details><summary class=\"wp-block-coblocks-accordion-item__title\">Script (click to open)<\/summary><div class=\"wp-block-coblocks-accordion-item__content\">\n<ul class=\"wp-block-list\">\n<li>An XML file that contains the code below is available to download\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/raw.githubusercontent.com\/Questetra\/Addon-XML\/release-2024-10-01\/generator-textfile.xml\" target=\"_blank\" rel=\"noreferrer noopener\">generator-textfile.xml<\/a> (C) Questetra, Inc. (MIT License)<\/li>\n\n\n\n<li>If you are using Professional, you can modify the contents of this file and use it as your own add-on auto step<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>\n\n\/\/\/\/\/\/\/\/ START &quot;main()&quot; \/\/\/\/\/\/\/\/\nconst main = () =&gt; {\n\n    \/\/\/\/ == Config Retrieving &amp; Caluculating \/ \u5de5\u7a0b\u30b3\u30f3\u30d5\u30a3\u30b0\u306e\u53c2\u7167 &amp; \u6f14\u7b97 ==\n    const textdata = configs.get(&quot;Text_Data&quot;);\n    const filename = configs.get(&quot;File_Name&quot;);\n    const filedataId = configs.get(&quot;File_DataId&quot;);\n    const deleteOtherFiles = configs.getObject(&quot;conf_DeleteOtherFiles&quot;);\n    let characterEncoding = configs.get(&quot;conf_CharacterEncoding&quot;);\n    let contentType = configs.get(&quot;conf_ContentType&quot;);\n\n    if (filename === &quot;&quot; || filename === null) {\n        throw new Error(&quot;File Name is blank&quot;);\n    }\n\n    if (textdata === null) {\n        textdata = &quot;&quot;;\n    }\n\n    if (characterEncoding === &quot;&quot; || characterEncoding === null) {\n        characterEncoding = &apos;UTF-8&apos;;\n    }\n\n    if (contentType === &quot;&quot; || contentType === null) {\n        contentType = &apos;text\/plain&apos;;\n    }\n\n    myFiles = retrieveData(textdata, filename, filedataId, deleteOtherFiles, characterEncoding, contentType);\n    updateData(filedataId, myFiles);\n}\n\n\/**\n  * \u30c6\u30ad\u30b9\u30c8\u30c7\u30fc\u30bf\u3092\u30d5\u30a1\u30a4\u30eb\u578b\u30c7\u30fc\u30bf\u306b\u5909\u63db\u3059\u308b\n  * @param {String} textdata \u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u306e\u5185\u5bb9\n  * @param {String} filename \u4fdd\u5b58\u30d5\u30a1\u30a4\u30eb\u540d\n  * @param {String} filedataId \u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u4fdd\u5b58\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u578b\u30c7\u30fc\u30bf\u9805\u76ee\u306e\u30c7\u30fc\u30bf\u5b9a\u7fa9\u756a\u53f7\n  * @param {boolean} deleteOtherFiles \u4fdd\u5b58\u6642\u306b\u4ed6\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u524a\u9664\u3059\u308b\u304b\u3069\u3046\u304b\n  * @param {String} characterEncoding \u4fdd\u5b58\u3059\u308b\u969b\u306e\u6587\u5b57\u30b3\u30fc\u30c9\n  * @param {String} contentType \u4fdd\u5b58\u3059\u308b\u969b\u306e\u30d5\u30a1\u30a4\u30eb\u30bf\u30a4\u30d7\n  * @return {java.util.ArrayList&lt;QfileView&gt;} myFiles \u30c6\u30ad\u30b9\u30c8\u30c7\u30fc\u30bf\u3092\u30d5\u30a1\u30a4\u30eb\u578b\u30c7\u30fc\u30bf\u3068\u3057\u3066\u8ffd\u52a0\u3057\u305f\u914d\u5217\n  *\/\nconst retrieveData = (textdata, filename, filedataId, deleteOtherFiles, characterEncoding, contentType) =&gt; {\n    let myFiles;\n    if (deleteOtherFiles === true) {\n        myFiles = new java.util.ArrayList();\n    } else {\n        \/\/ \u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u30c7\u30fc\u30bf\u304b\u3089\u30d5\u30a1\u30a4\u30eb\u578b\u30c7\u30fc\u30bf\u306e\u914d\u5217\u3092\u53d6\u5f97\n        myFiles = engine.findDataByNumber(filedataId);\/\/ java.util.ArrayList\n        if (myFiles === null) {\n            myFiles = new java.util.ArrayList();\n        }\n    }\n\n    let fileType;\n    \/\/x-UTF-16LE-BOM \u306b\u3064\u3044\u3066   QBPMS \u3067\u306f contentType \u306e charset \u306f UTF-16 \u3068\u3057\u3066\u6271\u308f\u308c\u308b\n    if (characterEncoding === &apos;x-UTF-16LE-BOM&apos;) {\n        fileType = `${contentType}; charset=UTF-16`;\n    } else if (characterEncoding === &quot;UTF-8&quot; &amp;&amp; contentType === &quot;application\/json&quot;) {\n    \/\/application\/json \u3067 UTF-8 \u306e\u5834\u5408\u306f\u3001charset \u7121\u3057\u3067 application\/json \u306e\u307f\n        fileType = &quot;application\/json&quot;;\n    } else {\n        fileType = `${contentType}; charset=${characterEncoding}`;\n    }\n\n    \/\/ \u30c6\u30ad\u30b9\u30c8\u30c7\u30fc\u30bf\u3092\u30d5\u30a1\u30a4\u30eb\u578b\u30c7\u30fc\u30bf\u306b\u5909\u63db\u3057\u3066\u8ffd\u52a0\u3057\u305f\u914d\u5217\u3092\u8fd4\u3059\n    myFiles.add(\n        new com.questetra.bpms.core.event.scripttask.NewQfile(\n            filename,\n            fileType,\n            characterEncoding,\n            textdata\n        )\n    );\n    return myFiles;\n}\n\n\/\/\/\/ == Data Updating \/ \u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u30c7\u30fc\u30bf\u3078\u306e\u4ee3\u5165 ==\nconst updateData = (filedataId, myFiles) =&gt; {\n    engine.setDataByNumber(filedataId, myFiles);\n}\n\n<\/code><\/pre><\/div>\n<\/div><\/details><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>This item converts any text into a file and adds it to a File type data item.<\/p>\n","protected":false},"author":17,"featured_media":111024,"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_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":[551],"tags":[],"faq_section":[],"class_list":["post-83246","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-bpmn-icons"],"jetpack_publicize_connections":[],"uagb_featured_image_src":{"full":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/09\/bpmn-icon-service-task-generator-text-file.png?fit=1200%2C675&ssl=1",1200,675,false],"thumbnail":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/09\/bpmn-icon-service-task-generator-text-file.png?resize=440%2C440&ssl=1",440,440,true],"medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/09\/bpmn-icon-service-task-generator-text-file.png?fit=560%2C315&ssl=1",560,315,true],"medium_large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/09\/bpmn-icon-service-task-generator-text-file.png?fit=768%2C432&ssl=1",768,432,true],"large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/09\/bpmn-icon-service-task-generator-text-file.png?fit=1024%2C576&ssl=1",1024,576,true],"1536x1536":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/09\/bpmn-icon-service-task-generator-text-file.png?fit=1200%2C675&ssl=1",1200,675,true],"2048x2048":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/09\/bpmn-icon-service-task-generator-text-file.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\/09\/bpmn-icon-service-task-generator-text-file.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\/09\/bpmn-icon-service-task-generator-text-file.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\/09\/bpmn-icon-service-task-generator-text-file.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\/09\/bpmn-icon-service-task-generator-text-file.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\/09\/bpmn-icon-service-task-generator-text-file.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\/09\/bpmn-icon-service-task-generator-text-file.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\/09\/bpmn-icon-service-task-generator-text-file.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\/09\/bpmn-icon-service-task-generator-text-file.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\/09\/bpmn-icon-service-task-generator-text-file.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\/09\/bpmn-icon-service-task-generator-text-file.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\/09\/bpmn-icon-service-task-generator-text-file.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\/09\/bpmn-icon-service-task-generator-text-file.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\/09\/bpmn-icon-service-task-generator-text-file.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\/09\/bpmn-icon-service-task-generator-text-file.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\/09\/bpmn-icon-service-task-generator-text-file.png?resize=200%2C200&ssl=1",200,200,true],"newspack-article-block-uncropped":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/09\/bpmn-icon-service-task-generator-text-file.png?fit=1200%2C675&ssl=1",1200,675,true]},"uagb_author_info":{"display_name":"Shiho Tatsumi","author_link":"https:\/\/support.questetra.com\/en\/author\/tatsumi48c607ec82\/"},"uagb_comment_info":1,"uagb_excerpt":"This item converts any text into a file and adds it to a File type data item.","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9DiIh-lEG","jetpack-related-posts":[{"id":69637,"url":"https:\/\/support.questetra.com\/en\/bpmn-icons\/converter-datetojpera\/","url_meta":{"origin":83246,"position":0},"title":"Converter (Date to Japanese calendar text)","author":"HatanakaAkihiro","date":"2024-07-05","format":false,"excerpt":"This item converts a Date \/ Datetime type data item to Japanese calendar text and stores it in a String type data item.","rel":"","context":"In &quot;BPMN Icons&quot;","block_context":{"text":"BPMN Icons","link":"https:\/\/support.questetra.com\/en\/category\/bpmn-icons\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/01\/bpmn-icon-service-task-converter.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/01\/bpmn-icon-service-task-converter.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/01\/bpmn-icon-service-task-converter.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/01\/bpmn-icon-service-task-converter.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/01\/bpmn-icon-service-task-converter.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":83104,"url":"https:\/\/support.questetra.com\/en\/system-settings\/app-shared-add-on\/","url_meta":{"origin":83246,"position":1},"title":"System Settings &#8211; App-shared Add-on","author":"Peter Glover","date":"2020-03-11","format":false,"excerpt":"Uploaded data can be stored and then referred to by multiple Apps.","rel":"","context":"In &quot;System Settings&quot;","block_context":{"text":"System Settings","link":"https:\/\/support.questetra.com\/en\/category\/system-settings\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/12\/Gear_upload-1.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\/Gear_upload-1.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/12\/Gear_upload-1.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/12\/Gear_upload-1.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/12\/Gear_upload-1.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":73843,"url":"https:\/\/support.questetra.com\/en\/bpmn-icons\/any-website-file-download\/","url_meta":{"origin":83246,"position":2},"title":"(Any Website): Download File","author":"Shiho Tatsumi","date":"2024-07-05","format":false,"excerpt":"This item downloads a file and adds it to File-type data. A GET request is made to the specified URL and the response is saved as a file.","rel":"","context":"In &quot;BPMN Icons&quot;","block_context":{"text":"BPMN Icons","link":"https:\/\/support.questetra.com\/en\/category\/bpmn-icons\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/03\/bpmn-icon-service-task-any-website-file-download.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/03\/bpmn-icon-service-task-any-website-file-download.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/03\/bpmn-icon-service-task-any-website-file-download.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/03\/bpmn-icon-service-task-any-website-file-download.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/03\/bpmn-icon-service-task-any-website-file-download.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":69682,"url":"https:\/\/support.questetra.com\/en\/bpmn-icons\/converter-tabletoexcelcsv\/","url_meta":{"origin":83246,"position":3},"title":"Converter (Table type data to Excel-CSV File)","author":"Shiho Tatsumi","date":"2024-07-05","format":false,"excerpt":"This item stores the values in a Table type data item into a File type data item as an Excel compatible CSV. The file is added and does not affect existing files.","rel":"","context":"In &quot;BPMN Icons&quot;","block_context":{"text":"BPMN Icons","link":"https:\/\/support.questetra.com\/en\/category\/bpmn-icons\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/01\/bpmn-icon-service-task-converter.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/01\/bpmn-icon-service-task-converter.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/01\/bpmn-icon-service-task-converter.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/01\/bpmn-icon-service-task-converter.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/01\/bpmn-icon-service-task-converter.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":72396,"url":"https:\/\/support.questetra.com\/en\/bpmn-icons\/converter-textfile-to-string\/","url_meta":{"origin":83246,"position":4},"title":"Converter (Text File to String type data)","author":"HatanakaAkihiro","date":"2023-08-21","format":false,"excerpt":"This item overwrites the value of String type data item with the contents of a text file stored in File type data item.","rel":"","context":"In &quot;BPMN Icons&quot;","block_context":{"text":"BPMN Icons","link":"https:\/\/support.questetra.com\/en\/category\/bpmn-icons\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/01\/bpmn-icon-service-task-converter.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/01\/bpmn-icon-service-task-converter.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/01\/bpmn-icon-service-task-converter.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/01\/bpmn-icon-service-task-converter.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/01\/bpmn-icon-service-task-converter.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":76467,"url":"https:\/\/support.questetra.com\/en\/bpmn-icons\/service-task-pdf-generation\/","url_meta":{"origin":83246,"position":5},"title":"Generate PDF File","author":"Hirotaka NISHI","date":"2021-09-28","format":false,"excerpt":"Inserts business data into a Base PDF form and automatically generate a new PDF file. Although Adobe Acrobat etc. are needed for the preparation of a Base PDF, it is also possible to download a Base PDF with selecting fields from the setting screen, unless you do not care about\u2026","rel":"","context":"In &quot;BPMN Icons&quot;","block_context":{"text":"BPMN Icons","link":"https:\/\/support.questetra.com\/en\/category\/bpmn-icons\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/09\/bpmn-icon-service-task-generate-pdf-2024.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/09\/bpmn-icon-service-task-generate-pdf-2024.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/09\/bpmn-icon-service-task-generate-pdf-2024.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/09\/bpmn-icon-service-task-generate-pdf-2024.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/09\/bpmn-icon-service-task-generate-pdf-2024.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\/09\/bpmn-icon-service-task-generator-text-file.png?fit=1200%2C675&ssl=1","_links":{"self":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/83246","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\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/comments?post=83246"}],"version-history":[{"count":29,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/83246\/revisions"}],"predecessor-version":[{"id":168763,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/83246\/revisions\/168763"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/media\/111024"}],"wp:attachment":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/media?parent=83246"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/categories?post=83246"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/tags?post=83246"},{"taxonomy":"faq_section","embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/faq_section?post=83246"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}