Using the Groupware function, you have the option of being notified by email, SMS, or WebPush about changes from within the program. Below you will find some application examples and the corresponding example configurations for applying the filter function in events.
Events are configured in the administration under Interfaces > GroupWare. Under Events, click Add. Depending on the settings you select, different fields must be completed.
| Use case | Requirement | Filter expression/Configuration | Notes |
|---|---|---|---|
| Specific person responsible for a notification | Trigger an event as soon as a specific person or team is entered as the person responsible. | PersonAssignments.Find(x => x.Type == GeoMan.ServiceDesk.KnownPersonAssignmentTypes.TicketResponsiblePerson && x.Person.Name == "PERSONNAME") != null | Replace PERSONNAME with the desired person's or team's name. |
| Status change of a building order | Trigger an event when the status of an order changes to a specific value (e.g., “Planned”). | Status.?Name=="Planned" | Enable the Create option because setting a status for the first time is not recognized as a value change. |
| Specific order type and status change | Trigger an event when a specific order type exists and a specific status (e.g., “Completed”) is reached. | RepairTypeShortName == "D35" && Status.?Name == "Completed" | Replace D35 with the desired order type key. |
| Text content of a field | Trigger an event only for orders belonging to a specific AKS/TGA group. | DeviceProdGrNrComplete like "%FPK%" or DeviceProdGrNrComplete.Contains("FPK") | |
Weekly overview of new contacts | Trigger an event once a week and include only contacts newly created during the last week. | (CreateDate.Date > System.DateTime.Today.AddDays(-7).Date) | Check Interval and specify 1 week |
Reminder for possible contract termination | Trigger an event when a specified termination date is reached. | (ContractNextTermination != null && ((ReminderDays != null && System.DateTime.Today == ContractEndNext.AddDays(-ReminderDays).Date) | |
Contract end reminder | Trigger an event when a reminder date for the end of the contract is reached | (ReminderDays != null && System.DateTime.Today == ContractEnd.AddDays(-ReminderDays).Date) | |
| Activation of a Flexible Property | Trigger an event when a specific Flexible Property is activated | (PropertyValues.Find(x => x.Property.OID == 5523).?BooleanValue == true) | First enter the desired Flexible Property in the Value change field (in this case, Flexible Property number 5523) |
| Filtering by Flexible Property | Trigger an event when a Flexible Property has a specific value | (Properties.Find(x => x.Property.OID == 5141).?TextValue == "Statusvalue") | Property.OID corresponds to the ID of the Flexible Property, and TextValue to the value to be evaluated. |
ObjectCalls in Events | Device measures: VertiGISFM-URL/ObjectCall.aspx?fn=Bmm.Erp.DeviceOrder&key=OrderID&values=PAR1Building measures: VertiGISFM-URL/ObjectCall.aspx?fn=GeoMan.Facilities.FacilityObjectOrder&key=OrderID&values=PAR1 | PAR1 corresponds to the respective OrderID. |
Comments
0 comments
Article is closed for comments.