I have a Date field on Account Entity. ExpiryDate. This expiry date is set manually on the account.
I want to trigger a plugin/workflow if expiry date is today and update some fields.
Any suggestions on how to do this?
Hello,
You can accomplish this by using System workflow and a custom workflow (C# code).
Custom Workflow
Create an on-demand workflow, In your workflow add a step to check if ExpiryDate equals today’s date. If this condition is true then trigger the custom workflow to update the fields that you need to.
System Workflow
Put Wait until condition in Workflow, trigger is on record created.
You can include a Process Timeout in a workflow by selecting Add Step > Wait Condition,
Process Timeout Equals Account."ExpirtyDate", if expiry date is 31st December 2020 then workflow will wait till 31st Dec and that day it will move for further steps, after that you can put update step which will update fields.
Don't forget to help the community by Verifying the answer and Like it if your question has been answered. It will let others know that the topic has verified answer.
Thanks & Regards,
Ankit Shah
Hello,
If the field stays unchanged - it can't trigger the plugin or workflow.
What you can use in your scenario is the waiting workflow - blog.clickdimensions.com/.../
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156