If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
Do you want a background task that checks the AMC End Date and updates the AMC status correspondingly?
It can be done in two ways:
- creating scheduled job by coding;
- creating a scheduled workflow (requires advanced pack).
If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.
hi,
we have advanced pack.can you please share scheduled workflow sample.Workflow Trigger = Scheduled → it does not show “Conditions” in the Trigger area (top part). then i give formula script in updation action.but not solving
The report should list records where both AMC End Date is in past and the AMC status is Active. It will output records that are eligible for changing status to Inactive.
Then, create a scheduled workflow with this report selected. Add an Update Target Record action, set the status to Inactive.
Configure the scheduling of the workflow to run every day.
If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.
Comment