So If [time duration] between two activities (Creation Activity and Payment Activity) < 1 then error ('Time duration between Creation and Payment is less than 1 day.')
So Create a new rule
1) Go to Process Context - Business Rules - then click create business rule
Select Add Filter - You will select Metric - you are going to make one.
2) Set up the logic by defining the condition
- that would be duration = DateDiff[Creation Activity, Payment Activity], 'day'
Here your just going to specify to 23 hours and 59 min and 59 sec
I
It will ask you the error condition
IF duration < 24THENERROR('Time duration between Creation and Payment is less than 1 day.')
The acceptable condition would be
ELSE IF duration >= 24 THEN OK('Duration is acceptable.')
This is my first time responding and I apologize for the formatting but I hope this works for you - based on where you have this you can adjust your scope
when done hit save and apply
Let me know how it goes
PowerLeanSigma.com (Russ)
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.