Technical Blog Post
How to use the ArcGISDataSync Crontask without editing GIS data
Here is another way of using the ArcGISDataSync Crontask.
In some cases, you may not be able to edit the fields in GIS. No matter what the reason, you may still need to update Maximo based on the changes made in GIS. Don't sweat, we have a solution for you.
You may remember another blog regarding this topic. Since we are all experts using the crontask now, we will make a slight change that will allow us to bring this data in.
With the editor tracking enabled in GIS, it can populate the installdate and lastupdate fields. We can then utilize this functionality in Maximo my editing our crontask URL.
Crontask configuration change
1) Go to the Crontask Application
2) Bring up the ArcGISDataSync Crontask.
3) Bring up your existing crontask, and then edit the following paramaters
a) GISOBJECTNAME = WHYDRANT(Or what you've named your GIS Object)
b) URL : http://sampleserver6.arcgisonline.com/arcgis/rest/services/Water_Network/MapServer/9/query?where=installdate>:lastruntime or lastupdate>:lastruntime&outfieds=*&f=json
(Information how to get this URL, please see link: http
c) PROCESSEDFLAG: (blank)
Save and reload your crontask. The important change to note is the query difference "where=installdate>:lastruntime or lastupdate>:lastruntime" :lastruntime references that for when the crontask last ran, and the query checks if the date change in GIS is after the crontask was run, then bring these fields in.
And, that would do it for you! Tell us what you think, we welcome your feedback!
Thanks for reading!