I have a question regarding a problem I'm facing. Is there any way I can have a workflow waiting for another workflow to finish (or at least fire a couple of seconds after the first has executed)?
My scenario: I have a workflow waiting until 6 months before contractline expiry date, once it reaches that date, it creates a custom entity and on the cutom entity I have a plugin registerd which creates an opportunity and inserts, an opportunity product line (for the expired contract line).
Problem: The contract can have more than one contractline expiring at the same date, hence the workflow kicks off and creates multiple opportunties, adding each line in one opportunity, which shouldnt happen as I want all contract lines to end up in one opportunity. This doesn't happen too often, but I believe when the worflows execute at exectly the same time, I get this weird behaviour.
Any help would be much appreciated. Thanks.