Messages in Model Builder

1415
6
02-15-2021 07:24 AM
Status: Open
Labels (1)
BrettFrahm
Occasional Contributor

When using Arcpy you are able to use funtions like arcpy.AddMessage to print statements in the geoprocessing result messages. I believe there should be a nice simple and built-in way to do this within ModelBuilder so people are able to troubleshoot. It could be kept simple at first and utilize outputs that are already being made like counts from select geoprocessing, so you can add a message for the count.

Ultimately though I think we should be able to add any message we want just like we are able to in python and also be able to utilize error messages too.

 

Also I realize that there is a custom way to do this by creating a script tool and adding it to the model, but this should be built-in to modelbuilder.

6 Comments
DuncanHornby

I've been using model builder for years and have always though it would be good to be able to write a message.  I think this idea works best if you run your model direct from the toolbox or as a tool as you would typically be watching the message dialog.

ShitijMehta

Thanks for this idea! We have this feature in our plan although not current right now. We will keep you updated as soon as we bring this into our current product plan. Thank you!

LauraBecht

This has always been something I didn't like about model builder.  I have a model I need to schedule to run regularly.  If the model fails is this reported anywhere?  I am seriously considering running this model in a notebook instead just so I can see if there is an issue.

ShitijMehta

Hi Laura, 
If the model fails, the errors bubble up on the scheduled tasks tab on the History pane. Is there an error that does not show up? Please can you help me with any model or repro steps that i can try?

Thanks!

Shitij

LauraBecht

Hi Shitij,

That was an honest question as i haven't tried to schedule the model yet, it got put on hold for other unrelated reasons.  I will let you know if any failure occurs without an error once i do start scheduling it.

 

Laura

PaulPrevedoros1

Some times users run modelbuilder  tasks on large files.

The ability to add a custom message that provides the progress of the tool might be handy