IBM Support

Using the ArcGISDataSync Crontask Without Editing GIS Data

Technical Blog Post


Abstract

How to use the ArcGISDataSync Crontask without editing GIS data.

Body

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 parameters:

a) GISOBJECTNAME = WHYDRANT(Or what you've named your GIS Object)

b) URLhttp://sampleserver6.arcgisonline.com/arcgis/rest/services/Water_Network/MapServer/9/query?where=installdate>:lastruntime or lastupdate>:lastruntime&outfields=*&f=json
(Information how to get this URL, please see link: http://www-01.ibm.com/support/docview.wss?uid=swg21983319 )

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.

 

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSLKT6","label":"IBM Maximo Asset Management"},"Component":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

UID

ibm11111605