Skip to main content

Im new to FMe and Cityworks and came across this blog

New FME Tools for Cityworks Integrations

and curious to know if there is a custom transformer that creates a service request that reads data from an xml file

Also can this be done in FME Desktop without FME server

Hi @adi, welcome to FME and thanks for your question!

 

 

We do not currently have a custom transformer built to specifically create a service request. However, it should not be very difficult to modify the WorkOrderCreator to create service requests rather than work orders. The steps needed would be as follows:

 

 

1) Verify your Cityworks REST API documentation for creating a service request.

2) Update the request URL in the HTTPCaller to fit the service request endpoint.

3) Modify the query parameters based on the data you need to send with the service request.

Since FME can read XML and manipulate its contents, you can send data from an XML file with your API call to Cityworks. This can all be done in FME Desktop without FME Server. FME Server simply allows this kind of workflow to be shared, managed, and automated - whether that is with a schedule or in response to an event.

I hope that helps. Let me know if you have any further questions.

 

Best,

Nathan


Hi @adi, welcome to FME and thanks for your question!

 

 

We do not currently have a custom transformer built to specifically create a service request. However, it should not be very difficult to modify the WorkOrderCreator to create service requests rather than work orders. The steps needed would be as follows:

 

 

1) Verify your Cityworks REST API documentation for creating a service request.

2) Update the request URL in the HTTPCaller to fit the service request endpoint.

3) Modify the query parameters based on the data you need to send with the service request.

Since FME can read XML and manipulate its contents, you can send data from an XML file with your API call to Cityworks. This can all be done in FME Desktop without FME Server. FME Server simply allows this kind of workflow to be shared, managed, and automated - whether that is with a schedule or in response to an event.

I hope that helps. Let me know if you have any further questions.

 

Best,

Nathan

Hello @NathanAtSafe,

Thank you for your reply, I have downloaded the Cityworks related workspaces from the hub and will play around with it to get an idea of how the custom transformer works .

will probably prick your brain again

Thank you

adi


Reply