Hello fellow Espo-Users,
we are using EspoCRM for a while now and we are very happy with it, especially regarding its flexibility. We also bought some Extensions and would like to do some further development and customization fitting our needs.
I try to do as much as possible by myself and read a lot here, which is so helpful!
Unfortunately i need some help with Formula Script / Workflows, maybe one of you might help.
Here's my challenge:
Initial Situation:
I have two entities "Meeting" and "Auftraege / Jobs". In every "Auftrag" we need several appointments with our client to fulfill the job. We use the Outlook-Extension, which is able to sync the Calendar Events to Espo (Entity Type: Meeting). Every "Auftrag" has a unique ID (i.e. "ABC-123456"), which is created upon creation of the new Auftrag-Entity. When we create an calendar event in Outlook, the unique ID of the corresponding "Auftrag" ist put in the title of the calendar event (i.e. "Appointment with Mr. X, ABC-123456"). A calendar-event can also have multiple Auftrag-ID's in it's title. This event is synced via the Outlook-Plugin to Espo Meeting-Entity.
I would like to do the following:
Create a workflow which is triggered, whenever a calendar event (Meeting-Entity) is created or changed.
The workflow should check the title of the event if there is any Auftrag-ID in it. For every Auftrag-ID it should find the corresponding "Auftrag" by ID and link it to the Meeting-entity.
If a calendar event title (Meeting Entity) has an Auftrag-ID in it and it is linked to an "Auftrag" it should be unlinked, if the Auftrag-ID is removed from the meeting-title.
I already tested a little bit, but honestly lack knowledge of how to write formula-script on such a complex level.
So, if anyone of you could help me out, i would be very happy!
Thank you in advance,
kind regards from Germany,
André
we are using EspoCRM for a while now and we are very happy with it, especially regarding its flexibility. We also bought some Extensions and would like to do some further development and customization fitting our needs.
I try to do as much as possible by myself and read a lot here, which is so helpful!
Unfortunately i need some help with Formula Script / Workflows, maybe one of you might help.
Here's my challenge:
Initial Situation:
I have two entities "Meeting" and "Auftraege / Jobs". In every "Auftrag" we need several appointments with our client to fulfill the job. We use the Outlook-Extension, which is able to sync the Calendar Events to Espo (Entity Type: Meeting). Every "Auftrag" has a unique ID (i.e. "ABC-123456"), which is created upon creation of the new Auftrag-Entity. When we create an calendar event in Outlook, the unique ID of the corresponding "Auftrag" ist put in the title of the calendar event (i.e. "Appointment with Mr. X, ABC-123456"). A calendar-event can also have multiple Auftrag-ID's in it's title. This event is synced via the Outlook-Plugin to Espo Meeting-Entity.
I would like to do the following:
Create a workflow which is triggered, whenever a calendar event (Meeting-Entity) is created or changed.
The workflow should check the title of the event if there is any Auftrag-ID in it. For every Auftrag-ID it should find the corresponding "Auftrag" by ID and link it to the Meeting-entity.
If a calendar event title (Meeting Entity) has an Auftrag-ID in it and it is linked to an "Auftrag" it should be unlinked, if the Auftrag-ID is removed from the meeting-title.
I already tested a little bit, but honestly lack knowledge of how to write formula-script on such a complex level.
So, if anyone of you could help me out, i would be very happy!
Thank you in advance,
kind regards from Germany,
André
Comment