{"id":48062,"date":"2018-08-07T10:43:44","date_gmt":"2018-08-07T17:43:44","guid":{"rendered":"https:\/\/www.esri.com\/about\/newsroom\/?post_type=arcuser&#038;p=48062"},"modified":"2024-04-18T15:32:04","modified_gmt":"2024-04-18T22:32:04","slug":"modelbuilder-101-for-arcgis-pro-users-who-want-to-automate-workflows","status":"publish","type":"arcuser","link":"https:\/\/www.esri.com\/about\/newsroom\/arcuser\/modelbuilder-101-for-arcgis-pro-users-who-want-to-automate-workflows","title":{"rendered":"ModelBuilder 101: For ArcGIS Pro users who want to automate workflows"},"author":1031,"featured_media":0,"menu_order":0,"template":"","format":"standard","meta":{"_acf_changed":false,"sync_status":"","episode_type":"","audio_file":"","castos_file_data":"","podmotor_file_id":"","cover_image":"","cover_image_id":"","duration":"","filesize":"","filesize_raw":"","date_recorded":"","explicit":"","block":"","itunes_episode_number":"","itunes_title":"","itunes_season_number":"","itunes_episode_type":"","_links_to":"","_links_to_target":""},"categories":[10412,25022],"tags":[23402,1281],"arcuser_issues":[24952],"class_list":["post-48062","arcuser","type-arcuser","status-publish","format-standard","hentry","category-arcgis-pro","category-hands-on","tag-automation","tag-visualization","arcuser_issues-arcuser-summer-2018"],"acf":{"short_description":"Introduction to automating workflows in ArcGIS Pro using ModelBuilder.","pdf":{"host_remotely":false,"file":"","file_url":""},"flexible_content":[{"acf_fc_layout":"pdf","file":53602},{"acf_fc_layout":"blockquote","content":"ModelBuilder provides a visual canvas to create geoprocessing models that automate GIS workflows. Included with ArcGIS Pro, ModelBuilder has been called a visual programming language. You can think of ModelBuilder as a tool to map a geoprocessing workflow."},{"acf_fc_layout":"content","content":"A model is a workflow map. Like maps, models you create in ModelBuiler can be navigated because they have built-in directionality. Shape, color, text, and symbols are used in models to communicate information about processes and status. Models are invaluable for conducting sophisticated spatial analyses and can reveal data relationships that spark ideas and collaboration. Models are workhorses: If built with reuse in mind, they can be your go-to shortcuts for getting lots of geoprocessing tasks done with less work.\r\n\r\nIf you\u2019ve never worked with ModelBuilder, here is a simple five- (or\u00a0six-) step approach to get you started.\r\n<h2>1.\u00a0Plan the Workflow<\/h2>\r\nBefore creating a model, know what you want it to do. List the data input, identify the required geoprocessing tools, and describe the desired output. If the workflow is simple, just think it through in your head. For more complicated workflows, you may want to sketch everything on paper or a whiteboard. If you\u2019re not sure which tool to use or what a tool\u2019s required inputs are, check the online ArcGIS Pro tool reference."},{"acf_fc_layout":"image","image":52172,"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<h2>2. Create the Model Shell<\/h2>\r\nIn ArcGIS, a model must be stored inside a toolbox. In ArcGIS Pro, when you create a new project, a toolbox with the same name as the project is automatically created.\r\n\r\nOn the Analysis tab, click ModelBuilder. An empty model window opens.\r\n\r\n<em>Tip:You can also open a new model by right-clicking the toolbox folder in the Catalog pane and choosing New &gt; Model.<\/em>\r\n\r\nNow set the model properties by clicking Properties on the ModelBuilder tab.\r\n\r\nIn the General tab, the option to Store tool with relative path should be selected, because using relative paths prevents headaches down the road if your data is moved.\r\n\r\nSet these properties:\r\n<ul>\r\n \t<li>Name\u2014Type the file name with no spaces.<\/li>\r\n \t<li>Label\u2014Provide a plain name that can include spaces.<\/li>\r\n<\/ul>\r\nClick OK."},{"acf_fc_layout":"image","image":52092,"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<h2>3.\u00a0Add Tools and Set Parameters<\/h2>\r\nWith the basic setup done, now comes the fun part. You can\u2019t beat ModelBuilder for easy drag-and-drop building and tinkering. But first, you will need to understand some ModelBuilder vocabulary. A model consists of one or more processes. A process consists of three elements: input data, a tool, and the tool\u2019s output. Each output can become input for the next process.\r\n\r\n<span class=\"s4\"> When you add a tool to a model by dragging it from the Catalog or Geoprocessing pane, its output element is also added, and both elements are light gray. In model parlance, gray means <i>not ready to run.<\/i><\/span>\r\n\r\nDouble-click each tool and set its parameters. A red asterisk next to an item in a tool dialog box means the parameter is required. Set tool parameters and pay attention to red asterisks.\r\n\r\n<em>Tip:If your input data has selected features or records, models like individual ArcGIS geoprocessing tools will process only the selection.<\/em>\r\n\r\nOnce you click OK to set the tool parameters, the input element displays and the process colorizes.\r\n\r\nAs you add processes, the model window may fill up. Use the Auto Layout and Fit to Window buttons to see the big-picture view and zoom in and out as needed.\r\n\r\nBe sure to save periodically as you build the model by clicking Save on the ModelBuilder tab.\r\n\r\nIf you want to visualize the model\u2019s final output on a map, right-click its model element and choose Add To Display. Otherwise, you\u2019ll have to manually add the output as a layer to the map."},{"acf_fc_layout":"content","content":"<h2>4.\u00a0Validate the Model<\/h2>\r\nAfter you\u2019ve added all the tools and set their parameters, it\u2019s time to ensure the model will run properly by validating it. Validation is easy\u2014just click the Validate button with the green check mark on the ModelBuilder tab. During validation, if there\u2019s an error, processing will cease at the process with the problem.\r\n\r\nFigure out what\u2019s wrong, make the fix, then validate again.\u00a0One the model is validated, save it and the ArcGIS Pro project."},{"acf_fc_layout":"image","image":52122,"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<h2>5.\u00a0Run the Model<\/h2>\r\nYou have two options for running a model: inside or outside ModelBuilder. Run a model inside ModelBuilder by clicking the Run button. As the model progresses, each process turns red and then gets a drop shadow. The drop shadow indicates the process has completed correctly. If a process turns gray, that means something needs to be fixed and the model stops running. If you\u2019ve validated, this shouldn\u2019t happen.\r\n\r\nYou can also run outside of ModelBuilder by running the model as a tool or service. Running a model as a tool or service has advantages for collaboration and sharing."},{"acf_fc_layout":"content","content":"<h2>6.\u00a0Run It Again (Optional)<\/h2>\r\n<span class=\"s1\">A model\u2019s final output may raise a question. For example, suppose a model process created a 50-meter buffer around a map feature. After examining the model output layer on the map, you wonder what the impact would be if you used a 100-meter buffer instead. To find out, you would simply open the Buffer tool, enter the new distance value, and run the model again starting at the buffer process (right-click the Buffer tool and choose Run). Because you\u2019re not altering preceding processes, you don\u2019t need to rerun the entire model. This is the beauty of a model.<\/span>"},{"acf_fc_layout":"image","image":52142,"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"Built for reuse, models are a perfect way to explore and test what-if scenarios. Like scripts, models are encapsulated workflows. Once created, they can be used over and over as a fast alternative to manually performing all the individual steps in a workflow. You can build a model to automate any geoprocessing workflow, whether it\u2019s complex or simple and straightforward.\r\n\r\nNow that you\u2019ve learned the steps to create a simple model, get going and try it for yourself.\r\n<h2>Want to Learn More?<\/h2>\r\nIf you\u2019re interested in a deeper dive into geoprocessing models or ArcGIS Pro, check out these online and instructor-led courses from Esri Training (esri.com\/training):\r\n<ul>\r\n \t<li><a href=\"https:\/\/www.esri.com\/training\/catalog\/5763042e851d31e02a43edcb\/arcgis-pro:-essential-workflows\/\">ArcGIS Pro: Essential Workflows<\/a><\/li>\r\n \t<li><a href=\"https:\/\/www.esri.com\/training\/catalog\/57630435851d31e02a43f051\/spatial-analysis-and-modeling-with-arcgis-pro\/\">Spatial Analysis and Modeling with ArcGIS Pro<\/a><\/li>\r\n \t<li><a href=\"https:\/\/www.esri.com\/training\/catalog\/57630433851d31e02a43eebc\/building-geoprocessing-models-using-arcgis-pro\/\">Building Geoprocessing Models Using ArcGIS Pro<\/a><\/li>\r\n \t<li><a href=\"https:\/\/www.esri.com\/training\/catalog\/57630435851d31e02a43f022\/preparing-to-perform-analysis-using-arcgis-pro\/\">Preparing to Perform Analysis Using ArcGIS Pro<\/a><\/li>\r\n<\/ul>"}],"references":null},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v25.9 (Yoast SEO v25.9) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>ModelBuilder 101: For ArcGIS Pro users who want to automate workflows | Summer 2018 | ArcUser<\/title>\n<meta name=\"description\" content=\"Introduction to automating workflows in ArcGIS Pro using ModelBuilder.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.esri.com\/about\/newsroom\/arcuser\/modelbuilder-101-for-arcgis-pro-users-who-want-to-automate-workflows\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"ModelBuilder 101: For ArcGIS Pro users who want to automate workflows\" \/>\n<meta property=\"og:description\" content=\"Introduction to automating workflows in ArcGIS Pro using ModelBuilder.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.esri.com\/about\/newsroom\/arcuser\/modelbuilder-101-for-arcgis-pro-users-who-want-to-automate-workflows\" \/>\n<meta property=\"og:site_name\" content=\"Esri\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/esrigis\/\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-18T22:32:04+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.esri.com\/about\/newsroom\/app\/uploads\/2018\/08\/ausum18_MB_card.jpg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@Esri\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\n\t    \"@context\": \"https:\/\/schema.org\",\n\t    \"@graph\": [\n\t        {\n\t            \"@type\": \"WebPage\",\n\t            \"@id\": \"https:\/\/www.esri.com\/about\/newsroom\/arcuser\/modelbuilder-101-for-arcgis-pro-users-who-want-to-automate-workflows\",\n\t            \"url\": \"https:\/\/www.esri.com\/about\/newsroom\/arcuser\/modelbuilder-101-for-arcgis-pro-users-who-want-to-automate-workflows\",\n\t            \"name\": \"ModelBuilder 101: For ArcGIS Pro users who want to automate workflows | Summer 2018 | ArcUser\",\n\t            \"isPartOf\": {\n\t                \"@id\": \"https:\/\/www.esri.com\/about\/newsroom\/#website\"\n\t            },\n\t            \"datePublished\": \"2018-08-07T17:43:44+00:00\",\n\t            \"dateModified\": \"2024-04-18T22:32:04+00:00\",\n\t            \"description\": \"Introduction to automating workflows in ArcGIS Pro using ModelBuilder.\",\n\t            \"breadcrumb\": {\n\t                \"@id\": \"https:\/\/www.esri.com\/about\/newsroom\/arcuser\/modelbuilder-101-for-arcgis-pro-users-who-want-to-automate-workflows#breadcrumb\"\n\t            },\n\t            \"inLanguage\": \"en-US\",\n\t            \"potentialAction\": [\n\t                {\n\t                    \"@type\": \"ReadAction\",\n\t                    \"target\": [\n\t                        \"https:\/\/www.esri.com\/about\/newsroom\/arcuser\/modelbuilder-101-for-arcgis-pro-users-who-want-to-automate-workflows\"\n\t                    ]\n\t                }\n\t            ]\n\t        },\n\t        {\n\t            \"@type\": \"BreadcrumbList\",\n\t            \"@id\": \"https:\/\/www.esri.com\/about\/newsroom\/arcuser\/modelbuilder-101-for-arcgis-pro-users-who-want-to-automate-workflows#breadcrumb\",\n\t            \"itemListElement\": [\n\t                {\n\t                    \"@type\": \"ListItem\",\n\t                    \"position\": 1,\n\t                    \"name\": \"Home\",\n\t                    \"item\": \"https:\/\/www.esri.com\/about\/newsroom\"\n\t                },\n\t                {\n\t                    \"@type\": \"ListItem\",\n\t                    \"position\": 2,\n\t                    \"name\": \"ModelBuilder 101: For ArcGIS Pro users who want to automate workflows\"\n\t                }\n\t            ]\n\t        },\n\t        {\n\t            \"@type\": \"WebSite\",\n\t            \"@id\": \"https:\/\/www.esri.com\/about\/newsroom\/#website\",\n\t            \"url\": \"https:\/\/www.esri.com\/about\/newsroom\/\",\n\t            \"name\": \"Esri\",\n\t            \"description\": \"Esri Newsroom\",\n\t            \"potentialAction\": [\n\t                {\n\t                    \"@type\": \"SearchAction\",\n\t                    \"target\": {\n\t                        \"@type\": \"EntryPoint\",\n\t                        \"urlTemplate\": \"https:\/\/www.esri.com\/about\/newsroom\/?s={search_term_string}\"\n\t                    },\n\t                    \"query-input\": {\n\t                        \"@type\": \"PropertyValueSpecification\",\n\t                        \"valueRequired\": true,\n\t                        \"valueName\": \"search_term_string\"\n\t                    }\n\t                }\n\t            ],\n\t            \"inLanguage\": \"en-US\"\n\t        },\n\t        {\n\t            \"@type\": \"Person\",\n\t            \"@id\": \"https:\/\/www.esri.com\/about\/newsroom\/#\/schema\/person\/82e5143bcdebadf8fd64d84e503ca468\",\n\t            \"name\": \"Monica Pratt\",\n\t            \"image\": {\n\t                \"@type\": \"ImageObject\",\n\t                \"inLanguage\": \"en-US\",\n\t                \"@id\": \"https:\/\/www.esri.com\/about\/newsroom\/#\/schema\/person\/image\/\",\n\t                \"url\": \"https:\/\/www.esri.com\/about\/newsroom\/app\/uploads\/2018\/08\/MonicaMug_agol2.jpg\",\n\t                \"contentUrl\": \"https:\/\/www.esri.com\/about\/newsroom\/app\/uploads\/2018\/08\/MonicaMug_agol2.jpg\",\n\t                \"caption\": \"Monica Pratt\"\n\t            },\n\t            \"description\": \"Monica Pratt is the founding and current editor of ArcUser magazine, the executive editor of ArcNews magazine, the editor of Esri Globe and head of the Publications team at Esri. She has been writing on technology topics, specializing in GIS, for more than 30 years. Before joining Esri in 1997, she worked for newspapers and in the financial industry.\",\n\t            \"sameAs\": [\n\t                \"https:\/\/x.com\/ArcUser\"\n\t            ],\n\t            \"url\": \"\"\n\t        }\n\t    ]\n\t}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"ModelBuilder 101: For ArcGIS Pro users who want to automate workflows | Summer 2018 | ArcUser","description":"Introduction to automating workflows in ArcGIS Pro using ModelBuilder.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.esri.com\/about\/newsroom\/arcuser\/modelbuilder-101-for-arcgis-pro-users-who-want-to-automate-workflows","og_locale":"en_US","og_type":"article","og_title":"ModelBuilder 101: For ArcGIS Pro users who want to automate workflows","og_description":"Introduction to automating workflows in ArcGIS Pro using ModelBuilder.","og_url":"https:\/\/www.esri.com\/about\/newsroom\/arcuser\/modelbuilder-101-for-arcgis-pro-users-who-want-to-automate-workflows","og_site_name":"Esri","article_publisher":"https:\/\/www.facebook.com\/esrigis\/","article_modified_time":"2024-04-18T22:32:04+00:00","og_image":[{"url":"https:\/\/www.esri.com\/about\/newsroom\/app\/uploads\/2018\/08\/ausum18_MB_card.jpg","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_site":"@Esri","twitter_misc":{"Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.esri.com\/about\/newsroom\/arcuser\/modelbuilder-101-for-arcgis-pro-users-who-want-to-automate-workflows","url":"https:\/\/www.esri.com\/about\/newsroom\/arcuser\/modelbuilder-101-for-arcgis-pro-users-who-want-to-automate-workflows","name":"ModelBuilder 101: For ArcGIS Pro users who want to automate workflows | Summer 2018 | ArcUser","isPartOf":{"@id":"https:\/\/www.esri.com\/about\/newsroom\/#website"},"datePublished":"2018-08-07T17:43:44+00:00","dateModified":"2024-04-18T22:32:04+00:00","description":"Introduction to automating workflows in ArcGIS Pro using ModelBuilder.","breadcrumb":{"@id":"https:\/\/www.esri.com\/about\/newsroom\/arcuser\/modelbuilder-101-for-arcgis-pro-users-who-want-to-automate-workflows#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.esri.com\/about\/newsroom\/arcuser\/modelbuilder-101-for-arcgis-pro-users-who-want-to-automate-workflows"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.esri.com\/about\/newsroom\/arcuser\/modelbuilder-101-for-arcgis-pro-users-who-want-to-automate-workflows#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.esri.com\/about\/newsroom"},{"@type":"ListItem","position":2,"name":"ModelBuilder 101: For ArcGIS Pro users who want to automate workflows"}]},{"@type":"WebSite","@id":"https:\/\/www.esri.com\/about\/newsroom\/#website","url":"https:\/\/www.esri.com\/about\/newsroom\/","name":"Esri","description":"Esri Newsroom","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.esri.com\/about\/newsroom\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.esri.com\/about\/newsroom\/#\/schema\/person\/82e5143bcdebadf8fd64d84e503ca468","name":"Monica Pratt","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.esri.com\/about\/newsroom\/#\/schema\/person\/image\/","url":"https:\/\/www.esri.com\/about\/newsroom\/app\/uploads\/2018\/08\/MonicaMug_agol2.jpg","contentUrl":"https:\/\/www.esri.com\/about\/newsroom\/app\/uploads\/2018\/08\/MonicaMug_agol2.jpg","caption":"Monica Pratt"},"description":"Monica Pratt is the founding and current editor of ArcUser magazine, the executive editor of ArcNews magazine, the editor of Esri Globe and head of the Publications team at Esri. She has been writing on technology topics, specializing in GIS, for more than 30 years. Before joining Esri in 1997, she worked for newspapers and in the financial industry.","sameAs":["https:\/\/x.com\/ArcUser"],"url":""}]}},"sort_order":"16","_links":{"self":[{"href":"https:\/\/www.esri.com\/about\/newsroom\/wp-json\/wp\/v2\/arcuser\/48062","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.esri.com\/about\/newsroom\/wp-json\/wp\/v2\/arcuser"}],"about":[{"href":"https:\/\/www.esri.com\/about\/newsroom\/wp-json\/wp\/v2\/types\/arcuser"}],"author":[{"embeddable":true,"href":"https:\/\/www.esri.com\/about\/newsroom\/wp-json\/wp\/v2\/users\/1031"}],"version-history":[{"count":0,"href":"https:\/\/www.esri.com\/about\/newsroom\/wp-json\/wp\/v2\/arcuser\/48062\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.esri.com\/about\/newsroom\/wp-json\/wp\/v2\/media?parent=48062"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.esri.com\/about\/newsroom\/wp-json\/wp\/v2\/categories?post=48062"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.esri.com\/about\/newsroom\/wp-json\/wp\/v2\/tags?post=48062"},{"taxonomy":"arcuser_issues","embeddable":true,"href":"https:\/\/www.esri.com\/about\/newsroom\/wp-json\/wp\/v2\/arcuser_issues?post=48062"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}