Skip to main content
Solved

Is there a ServiceRequest Creator transformer for FME Cityworks Integration

  • February 14, 2019
  • 2 replies
  • 33 views

bhanu_v
Forum|alt.badge.img

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

Best answer by nathanatsafe

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

View original
Did this help you find an answer to your question?

2 replies

nathanatsafe
Safer
Forum|alt.badge.img+7
  • Safer
  • Best Answer
  • February 19, 2019

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


bhanu_v
Forum|alt.badge.img
  • Author
  • February 19, 2019
nathanatsafe wrote:

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings