Hi Anita,
It sounds like you’d like to send a notification when an Inspection is marked Completed but a required field is missing, so the person in the InspectedBy field gets alerted. You could approach this in two ways:
Option A: Workspace logic
- Read the Inspection records in with the HTTPCaller
- Use a Tester to check if status = Completed and required fields are empty.
- If so, send an email with the Emailer transformer to the InspectedBy user.
- This could be initiated by a schedule or a webhook.
Option B: Event-driven with Cityworks Webhooks (Best option)
Both approaches work. The main difference is where you apply the conditional logic: in the FME workspace (Option A) or directly in Cityworks via the webhook’s Action Event (Option B).
If you are new to working with Cityworks and FME, you may also find this training course helpful: Getting Started with Trimble Unity Maintain (Cityworks).
Best,
Sanae
Hello Sanae,
Thanks, I will try the steps in your solution.
Best Regards,
Anita