Perhaps I am just unclear about what is supposed to happen with role completion events, and that doesn't not match what I WANT to happen...
Here is what I hope Role Completion Events would do in Dynamic Forms (and Registration too...) --> The completion event fires each time the condition is correct and adds or updates the Role with its defined expiry date; which I am presuming is calculated as TODAY + EXPIRE DAYS.
SCENARIO
I have a need to add / maintain a role code on certain users based on their answers in a questionaire (DynForm) which, by assigning a valid role code, gives or denies a discount in a completely different module. I am using the EXIPIRE DAYS to allow them 1 day to use that discount. If they come back after that, and they again go through the Dynamic Form to get to the other module, they would have to answer the questions correctly again, and thus get their (this time existing) role updated with a new expiry date by virtue of the completion event.
WHAT HAPPENS
On the second time through the form the program 'sees' the user already has the role and does not fire the completion event. OR perhaps it is using some other date besides TODAY() as the baseline to change the expiry (such as record create date). OR there is a logic I need to understand!
I seem to be the queen (or jester?) of expiry since this is my 3 issue here with them. But then again, they are very powerful and helpful in conjunction with your FABULOUS programs that by and large save my staff DAYS of work on each of our installations!
Please advise, because, as my client says, "registrations are waiting..."
THANKS!!! |