{"id":157855,"date":"2024-04-15T16:17:21","date_gmt":"2024-04-15T07:17:21","guid":{"rendered":"https:\/\/support.questetra.com\/?p=157855"},"modified":"2024-04-15T16:17:23","modified_gmt":"2024-04-15T07:17:23","slug":"service-task-wordpress-category-get","status":"publish","type":"post","link":"https:\/\/support.questetra.com\/en\/bpmn-icons\/service-task-wordpress-category-get\/","title":{"rendered":"WordPress.com: Get Categories"},"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-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>WordPress.com: Get Categories<\/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\/service-task-wordpress-category-get\/\">WordPress.com: \u30ab\u30c6\u30b4\u30ea\u53d6\u5f97<\/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 gets categories on WordPress.com. When category names are specified (write one per line), the IDs of the categories will be saved. When no category name is specified, all categories will be retrieved and their names and IDs will be saved.<\/p>\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<figure class=\"wp-block-image alignright has-custom-border is-style-default\"><img decoding=\"async\" src=\"data:image;base64,\n        iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABoxJREFUWEfF\n        V3tQlFUU\/52PXV4CrgqBD8IkEdLy\/cgcUhNBFAFraLLSxnRwTFHBVeuPRqsZHxCRj9Ixycp0hqbY\n        VSFMFKzxTfnAB5oVggoqYTwUlsd3mnsX1mV3Eaxmun\/d795zzv2d3zn33PMR\/udBnT4\/Nac7mk2T\n        FVLDGPQUwD3B5CP1CbcBlBPzBRX4AU5uuUiMqOyM7Y4BrDN6KgreY\/BCImg6Y5QZTQTeoLq4rEZC\n        ZPXDdNoHwExINcwmprUE+HbmYFsZZpQz8XIkxewEETuy0T6AZKOeiNeRIPhfDAaYmROhj03rHICM\n        DCflmnM6CLM6Olcgc+iWI0WmNDXAtAxxcc3W2\/beJWcuUYg+cmSjr5c7lo\/qjzG9uiNQ5w4PrQYq\n        A+X36nHuTjUMV29i27lr7eJWmZfaMtEWQIoxjFjNISLF1sqKUf3xwbinoDLj8PUKHLlRicI7VXDX\n        ajDcV4eoQD880dUdV+7WYlLGEdyorbcDwswqE0ViWcz+1s0HAFbluZJHVbFtwnk5a3B0ZiiCe3hi\n        0+nfkZhXKL12NASQb6NHoWcXVyzNK8QnZ\/6wBwEuY6UxEIlxdeYb3DpSDCsVYI2thjh8mK8Oobt\/\n        wsnyux2lBdIjhmH2QH+ZG6N25uOXW1V2OtahMANgJkox3iSCn7X0vGcCsCVsCD4\/X4IrlbWobmhE\n        +vkSvDM6SM7vNTbDWVGgc9Vi69liaBRCaXy4xURFXQP8PvneLlFZsJAU01tcTTOAD\/eMUVg9Zn24\n        zkWL8gVToFXMIoL2Pb+VIf6HM8h5aSyGPtbVIl52rx4v7z2FgvK\/cH9JVBuPBfi5+0\/bs0DKs0ia\n        flxaV5INa0FYYS01f3BfbJ402LIkKO2SthemZlWuXZrzAoK6eci5iPWig+fkPDfuOUzw97aArjI1\n        wntztn3oGOtUfcxKCYCSM\/OJ6HlrqYyokXjaxwuuTk543MtNbukPn0dqwW9yvnhYIFInDJLzW\/dN\n        6PVpjpz38nBFSXy4TK5dl65jZkgfaFONdonLzIdZHzu+BYChiAgDrAFcnRuGE2V3UVRZg1Vjg81e\n        \/1mDQTsOybmId92S6WiJEAK3HUBx9X25d2N+BPy6uCA4PRdFcyZh8jdHcbDkThsWmHGZ9THBrQz8\n        RUQPggrg3uIobCssxts\/XkTN4mnSIxEGz4\/3oa7JXMyqEqbKYiSGSMIFuWflXIAXOSSor186HWtO\n        XMHqo0U2ALiK9bE6M4AUQz0BLtYSgsZT5XfxovEkCl4fb0k6AWj9qV8xzLcrTr023qJy+74JPVvC\n        ULckCruKruPNnNNoTorGDONJGK+WPQxAZjGBAqwl9sSOkZXt6R2H8GpIH3wZOVxui0oXkn4Qu6eN\n        wGCfrvD3coO7xknuBW3PRW8PV+S9PE7Sr1EUnH9jItytkrf1DJsQGI4TYbQ1gKQRT2Jt6ED02JSF\n        6oYmCK+cnRQZhm4bs+R9f\/\/YZYzw0yFuQG+pur3wGjydNXje31sm5VeRw2WJ1m3MauO9+GiThEqy\n        YQsI8dZSwpNr8eHSqLj7+2aMwZQnzG2ByO5XQvrIa9lP10V6KcafdQ0gIuy6VAr94QuoWjQVh0oq\n        MPW7NiXGfAxjq6qPmW+uMuuNEYrC39vCFAwIJkZ\/nS8r3pGZoRYR8foN\/TJPfrdmfeum\/9b9MkSi\n        hItKKCqm7VBVmoLl0TlmABuyXchkumV7E8TW7\/Mmw9fdBf23H0DhGxNldovxVu5ZbDlbLOcCqH7k\n        k3JeWlMnE27h0H4Ok8\/sPKq5tsEHq+IaLI+Ro2oohEUP8POs8fK6iSc2wMtNFhW3tD1oankWBaiK\n        hZGWqyqMWldH+wQwV0Gx\/uA13JDtRSbTVaKWTtdKSxSb3dNG4qWgXnJVXDkR18uVtZKR0D7e+Cx8\n        KFw1CmoamhBjOIH80gq7c6X3zHdYVQKxIrqmLQDxlWIIJ+ZsRw2J2A4L8MG7Y4MR3N0T3Vy1FvQN\n        zSpKaurkoSI0rczYIjA3JEoElkUfaN2zb8na6QtsjQlWRAMiwnLTQffjyP2OW7IWLSXFsA3AXIcc\n        \/tPFlmtnq95+y52SmUSg5P+oLU+APnaTI+wP7\/mTDbFE2EiAudQ94mCgmBmJ0Mdktqfa8U\/H1gIt\n        aktfJaYEAEM6YkT8iAA4w0Sb4G\/6wvY\/oPMhcAR5Q7YPGk1TFaYRzDwIRANbxC4SUKgSF0DrkoWE\n        yLaP\/0OY65iBR6T9UcX\/Bkm9qj9PJXC7AAAAAElFTkSuQmCC\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\">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;\">conf_Domain<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">C1: Domain of the WordPress.com site<span style=\"color:#990000;\"> *<\/span><\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #aaa;\">conf_Names<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">C2: Data item that stores \/ to save category names<span style=\"color:#990000;\"> *<\/span><\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #aaa;\">conf_Ids<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">C3: Data item to save category IDs<span style=\"color:#990000;\"> *<\/span><\/dd>\n\n<\/dl>\n<\/div><\/details><\/div>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\" style=\"margin-top:var(--wp--preset--spacing--30)\"><span>Notes<\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>This Auto Step is for WordPress.com (a service that hosts WordPress sites, provided by Automattic itself)<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" style=\"margin-top:var(--wp--preset--spacing--30)\"><span>Capture<\/span><\/h3>\n\n\n\n<figure class=\"wp-block-image size-large has-custom-border is-style-rounded is-style-rounded--1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"747\" height=\"630\" data-attachment-id=\"157856\" data-permalink=\"https:\/\/support.questetra.com\/en\/developer-blog\/markdown-basic\/attachment\/wordpress-category-get_capture_en\/\" data-orig-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/02\/wordpress-category-get_capture_en.png?fit=1338%2C1128&amp;ssl=1\" data-orig-size=\"1338,1128\" data-comments-opened=\"0\" data-image-title=\"wordpress-category-get_capture_en\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/02\/wordpress-category-get_capture_en.png?fit=747%2C630&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/02\/wordpress-category-get_capture_en.png?resize=747%2C630&#038;ssl=1\" alt=\"\" class=\"has-border-color wp-image-157856\" style=\"border-color:#009900;border-width:3px;border-radius:9px\" srcset=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/02\/wordpress-category-get_capture_en.png?resize=747%2C630&amp;ssl=1 747w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/02\/wordpress-category-get_capture_en.png?resize=374%2C315&amp;ssl=1 374w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/02\/wordpress-category-get_capture_en.png?resize=768%2C647&amp;ssl=1 768w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/02\/wordpress-category-get_capture_en.png?w=1338&amp;ssl=1 1338w\" sizes=\"auto, (max-width: 747px) 100vw, 747px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" style=\"margin-top:var(--wp--preset--spacing--30)\"><span>See also<\/span><\/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\">Intermediate Error Catch Event (Boundary Type)<\/a><\/li>\n<\/ul>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\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-01-15\/wordpress-category-get.xml\" target=\"_blank\" rel=\"noreferrer noopener\">wordpress-category-get.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\/\/ This item requires no authentication.\n\nconst API_VERSION = &#39;v1.1&#39;;\nconst MAX_NUMBER = 1000; \/\/ \u4e00\u5ea6\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u3067\u53d6\u5f97\u3067\u304d\u308b\u6700\u5927\u4ef6\u6570\n\nconst main = () =&gt; {\n    \/\/\/\/\/\/ == \u5de5\u7a0b\u30b3\u30f3\u30d5\u30a3\u30b0\u30fb\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u30c7\u30fc\u30bf\u306e\u53c2\u7167 \/ Config & Data Retrieving ==\n    const domain = configs.get(&#39;conf_Domain&#39;);\n    const names = retrieveNamesAsList();\n\n    \/\/\/\/\/\/ == \u6f14\u7b97 \/ Calculating ==\n    let categories = getCategories(domain);\n    if (names.length &gt; 0) { \/\/ \u540d\u524d\u304c\u6307\u5b9a\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u305d\u306e\u540d\u524d\u306e\u30ab\u30c6\u30b4\u30ea\u306e\u307f\u306b\u7d5e\u308b\n        categories = names.map(name =&gt; {\n            const category = categories.find(item =&gt; item.name === name);\n            if (category === undefined) {\n                throw new Error(`Category not found: ${name}`);\n            }\n            return category;\n        });\n    }\n\n    \/\/\/\/\/\/ == \u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u30c7\u30fc\u30bf\u3078\u306e\u4ee3\u5165 \/ Data Updating ==\n    if (names.length === 0) {\n        saveData(&#39;conf_Names&#39;, categories.map(item =&gt; item.name).join(&#39;\\n&#39;));\n    }\n    saveData(&#39;conf_Ids&#39;, categories.map(item =&gt; item.ID).join(&#39;\\n&#39;));\n};\n\n\/**\n  * config \u306b\u8a2d\u5b9a\u3055\u308c\u305f\u540d\u524d\u306e\u4e00\u89a7\u3092\u8aad\u307f\u51fa\u3059\n  * @return {Array&lt;String&gt;} ids\n  *\/\nconst retrieveNamesAsList = () =&gt; {\n    const dataDef = configs.getObject(&#39;conf_Names&#39;);\n    let dataStr = engine.findData(dataDef);\n    if (dataStr === null) {\n        return [];\n    }\n    \/\/ \u672b\u5c3e\u306b\u6539\u884c\u304c\u3042\u308b\u5834\u5408\u3001\u524a\u9664\n    if (dataStr.endsWith(&#39;\\n&#39;)) {\n        dataStr = dataStr.slice(0, -1);\n    }\n    const dataArray = dataStr.split(&#39;\\n&#39;);\n    \/\/ \u6b8b\u308a\u306e\u914d\u5217\u306b\u7a7a\u6587\u5b57\u304c\u542b\u307e\u308c\u308b\u5834\u5408\u3001\u30a8\u30e9\u30fc\n    if (dataArray.some(item =&gt; item === &#39;&#39;)) {\n        throw new Error(&#39;Empty lines are not allowed for category names.&#39;);\n    }\n    return dataArray;\n};\n\n\/**\n * \u30ab\u30c6\u30b4\u30ea\u4e00\u89a7\u3092\u53d6\u5f97\u3059\u308b\n * \u4e00\u5ea6\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u3067\u53d6\u5f97\u3057\u304d\u308c\u306a\u304b\u3063\u305f\u5834\u5408\u3001\u30a8\u30e9\u30fc\n * @param {String} domain\n * @return {Array&lt;Object&gt;} categories\n *\/\nconst getCategories = (domain) =&gt; {\n    const url = `https:\/\/public-api.wordpress.com\/rest\/${API_VERSION}\/sites\/${encodeURIComponent(domain)}\/categories`;\n    const response = httpClient.begin()\n        .queryParam(&#39;fields&#39;, &#39;ID,name&#39;)\n        .queryParam(&#39;number&#39;, MAX_NUMBER.toString())\n        .get(url);\n    const status = response.getStatusCode();\n    const responseStr = response.getResponseAsString();\n    if (status !== 200) {\n        engine.log(responseStr);\n        throw new Error(`Failed to get categories. status: ${status}`);\n    }\n    const json = JSON.parse(responseStr);\n    if (json.found &gt; MAX_NUMBER) {\n        throw new Error(&#39;Too many categories.&#39;);\n    }\n    return json.categories;\n};\n\n\/**\n * \u30c7\u30fc\u30bf\u9805\u76ee\u3078\u306e\u4fdd\u5b58\n * @param configName\n * @param data\n *\/\nconst saveData = (configName, data) =&gt; {\n    const def = configs.getObject(configName);\n    engine.setData(def, data);\n};\n\n    <\/code><\/pre><\/div>\n<\/div><\/details><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>This item gets categories on WordPress.com. When category names are specified (write one per line), the IDs of the categories will be saved. When no category name is specified, all categories will be retrieved and their names and IDs will be saved.<\/p>\n","protected":false},"author":17,"featured_media":155117,"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":[551],"tags":[482],"faq_section":[],"class_list":["post-157855","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-bpmn-icons","tag-wordpress-com-api"],"jetpack_publicize_connections":[],"uagb_featured_image_src":{"full":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/12\/bpmn-icon-service-task-wordpress.png?fit=1200%2C675&ssl=1",1200,675,false],"thumbnail":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/12\/bpmn-icon-service-task-wordpress.png?resize=440%2C440&ssl=1",440,440,true],"medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/12\/bpmn-icon-service-task-wordpress.png?fit=560%2C315&ssl=1",560,315,true],"medium_large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/12\/bpmn-icon-service-task-wordpress.png?fit=768%2C432&ssl=1",768,432,true],"large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/12\/bpmn-icon-service-task-wordpress.png?fit=1024%2C576&ssl=1",1024,576,true],"1536x1536":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/12\/bpmn-icon-service-task-wordpress.png?fit=1200%2C675&ssl=1",1200,675,true],"2048x2048":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/12\/bpmn-icon-service-task-wordpress.png?fit=1200%2C675&ssl=1",1200,675,true],"newspack-article-block-landscape-large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/12\/bpmn-icon-service-task-wordpress.png?resize=1200%2C675&ssl=1",1200,675,true],"newspack-article-block-portrait-large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/12\/bpmn-icon-service-task-wordpress.png?resize=900%2C675&ssl=1",900,675,true],"newspack-article-block-square-large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/12\/bpmn-icon-service-task-wordpress.png?resize=1200%2C675&ssl=1",1200,675,true],"newspack-article-block-landscape-medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/12\/bpmn-icon-service-task-wordpress.png?resize=800%2C600&ssl=1",800,600,true],"newspack-article-block-portrait-medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/12\/bpmn-icon-service-task-wordpress.png?resize=600%2C675&ssl=1",600,675,true],"newspack-article-block-square-medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/12\/bpmn-icon-service-task-wordpress.png?resize=800%2C675&ssl=1",800,675,true],"newspack-article-block-landscape-intermediate":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/12\/bpmn-icon-service-task-wordpress.png?resize=600%2C450&ssl=1",600,450,true],"newspack-article-block-portrait-intermediate":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/12\/bpmn-icon-service-task-wordpress.png?resize=450%2C600&ssl=1",450,600,true],"newspack-article-block-square-intermediate":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/12\/bpmn-icon-service-task-wordpress.png?resize=600%2C600&ssl=1",600,600,true],"newspack-article-block-landscape-small":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/12\/bpmn-icon-service-task-wordpress.png?resize=400%2C300&ssl=1",400,300,true],"newspack-article-block-portrait-small":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/12\/bpmn-icon-service-task-wordpress.png?resize=300%2C400&ssl=1",300,400,true],"newspack-article-block-square-small":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/12\/bpmn-icon-service-task-wordpress.png?resize=400%2C400&ssl=1",400,400,true],"newspack-article-block-landscape-tiny":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/12\/bpmn-icon-service-task-wordpress.png?resize=200%2C150&ssl=1",200,150,true],"newspack-article-block-portrait-tiny":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/12\/bpmn-icon-service-task-wordpress.png?resize=150%2C200&ssl=1",150,200,true],"newspack-article-block-square-tiny":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/12\/bpmn-icon-service-task-wordpress.png?resize=200%2C200&ssl=1",200,200,true],"newspack-article-block-uncropped":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/12\/bpmn-icon-service-task-wordpress.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":0,"uagb_excerpt":"This item gets categories on WordPress.com. When category names are specified (write one per line), the IDs of the categories will be saved. When no category name is specified, all categories will be retrieved and their names and IDs will be saved.","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9DiIh-F43","jetpack-related-posts":[{"id":157867,"url":"https:\/\/support.questetra.com\/ja\/bpmn-icons\/service-task-wordpress-category-get\/","url_meta":{"origin":157855,"position":0},"title":"WordPress.com: \u30ab\u30c6\u30b4\u30ea\u53d6\u5f97","author":"Shiho Tatsumi","date":"2024-04-15","format":false,"excerpt":"\u3053\u306e\u5de5\u7a0b\u306f\u3001WordPress.com \u306e\u30ab\u30c6\u30b4\u30ea\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002\u30ab\u30c6\u30b4\u30ea\u306e\u540d\u524d\u3092\u6307\u5b9a\u3059\u308b\u3068\u3001\u305d\u306e\u30ab\u30c6\u30b4\u30ea\u306e ID \u304c\u4fdd\u5b58\u3055\u308c\u307e\u3059\u3002\u8907\u6570\u6307\u5b9a\u3059\u308b\u5834\u5408\u30011\u884c\u306b\u3064\u304d1\u3064\u305a\u3064\u66f8\u304f\u3088\u3046\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u30ab\u30c6\u30b4\u30ea\u306e\u540d\u524d\u3092\u6307\u5b9a\u3057\u306a\u3044\u5834\u5408\u3001\u30ab\u30c6\u30b4\u30ea\u5168\u4ef6\u304c\u53d6\u5f97\u3055\u308c\u3001\u540d\u524d\u3068 ID \u304c\u4fdd\u5b58\u3055\u308c\u307e\u3059\u3002","rel":"","context":"In &quot;BPMN\u30a2\u30a4\u30b3\u30f3&quot;","block_context":{"text":"BPMN\u30a2\u30a4\u30b3\u30f3","link":"https:\/\/support.questetra.com\/ja\/category\/bpmn-icons\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/12\/bpmn-icon-service-task-wordpress.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/12\/bpmn-icon-service-task-wordpress.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/12\/bpmn-icon-service-task-wordpress.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/12\/bpmn-icon-service-task-wordpress.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/12\/bpmn-icon-service-task-wordpress.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":157860,"url":"https:\/\/support.questetra.com\/en\/bpmn-icons\/service-task-wordpress-post-create\/","url_meta":{"origin":157855,"position":1},"title":"WordPress.com: Create Draft Post","author":"Shiho Tatsumi","date":"2024-04-15","format":false,"excerpt":"This item creates a post in draft status on WordPress.com.","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\/2023\/12\/bpmn-icon-service-task-wordpress.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/12\/bpmn-icon-service-task-wordpress.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/12\/bpmn-icon-service-task-wordpress.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/12\/bpmn-icon-service-task-wordpress.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/12\/bpmn-icon-service-task-wordpress.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":83052,"url":"https:\/\/support.questetra.com\/en\/system-settings\/process-log\/","url_meta":{"origin":157855,"position":2},"title":"System Settings &#8211; Case Log","author":"Peter Glover","date":"2026-05-15","format":false,"excerpt":"Displays a history of events related to the operation of Cases and creation of 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\/2020\/03\/System-Settings-Case-Log-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\/03\/System-Settings-Case-Log-en.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/03\/System-Settings-Case-Log-en.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/03\/System-Settings-Case-Log-en.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/03\/System-Settings-Case-Log-en.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":148175,"url":"https:\/\/support.questetra.com\/en\/bpmn-icons\/service-task-sendgrid-email-send-bulk\/","url_meta":{"origin":157855,"position":3},"title":"Twilio SendGrid: Send Bulk Email","author":"Shiho Tatsumi","date":"2023-12-22","format":false,"excerpt":"This item sends bulk email to the contacts in the specified lists and\/or segments on SendGrid.","rel":"","context":"In &quot;BPMN\u30a2\u30a4\u30b3\u30f3&quot;","block_context":{"text":"BPMN\u30a2\u30a4\u30b3\u30f3","link":"https:\/\/support.questetra.com\/ja\/category\/bpmn-icons\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/07\/bpmn-icon-service-task-sendgrid.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/07\/bpmn-icon-service-task-sendgrid.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/07\/bpmn-icon-service-task-sendgrid.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/07\/bpmn-icon-service-task-sendgrid.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/07\/bpmn-icon-service-task-sendgrid.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":76407,"url":"https:\/\/support.questetra.com\/en\/bpmn-icons\/service-task-choices-update\/","url_meta":{"origin":157855,"position":4},"title":"Update Choices","author":"Hirotaka NISHI","date":"2022-01-13","format":false,"excerpt":"Registers\/updates the list of choices specified in a Select-type Data Item as both a Choice master (App-shared Add-on) commonly used in the workflow platform, but also an App-specific Choice master (Add-on). It needs to be set up by a User with App Administrator authority.","rel":"","context":"In &quot;BPMN\u30a2\u30a4\u30b3\u30f3&quot;","block_context":{"text":"BPMN\u30a2\u30a4\u30b3\u30f3","link":"https:\/\/support.questetra.com\/ja\/category\/bpmn-icons\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/01\/bpmn-icon-service-task-update-choices-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\/2022\/01\/bpmn-icon-service-task-update-choices-2024.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/01\/bpmn-icon-service-task-update-choices-2024.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/01\/bpmn-icon-service-task-update-choices-2024.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/01\/bpmn-icon-service-task-update-choices-2024.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":70597,"url":"https:\/\/support.questetra.com\/en\/developer-blog\/choices-salesforce\/","url_meta":{"origin":157855,"position":5},"title":"How to Use Customer Data in Salesforce as Options","author":"HatanakaAkihiro","date":"2018-08-16","format":false,"excerpt":"How to check details of selected customer data on Salesforce.","rel":"","context":"In &quot;Questetra Developers Blog&quot;","block_context":{"text":"Questetra Developers Blog","link":"https:\/\/support.questetra.com\/ja\/category\/developer-blog\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/08\/salesforce-choices-1200x675-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\/2018\/08\/salesforce-choices-1200x675-1.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/08\/salesforce-choices-1200x675-1.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/08\/salesforce-choices-1200x675-1.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/08\/salesforce-choices-1200x675-1.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\/2023\/12\/bpmn-icon-service-task-wordpress.png?fit=1200%2C675&ssl=1","_links":{"self":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/157855","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=157855"}],"version-history":[{"count":1,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/157855\/revisions"}],"predecessor-version":[{"id":157866,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/157855\/revisions\/157866"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/media\/155117"}],"wp:attachment":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/media?parent=157855"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/categories?post=157855"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/tags?post=157855"},{"taxonomy":"faq_section","embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/faq_section?post=157855"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}