Rule fires only after second save

Hello!

Does anyone else have the problem that discrepancyNoteActions are only fired when you hit save twice?

Example: It is not allowed to enter an end date if it was declared that an event is still ongoing. But if I say its ongoing and enter an end date nonetheless, I can hit save without any problems. Only if I open that CRF again and hit save a second time the discrepancyNoteActions fires. I do not have to make any changes at the second time.

Hope you can help me avoiding this problem :)

Comments

  • Marco1967Marco1967 Posts: 12
    Hello Lena,

    This is a know bug. See also https://forums.openclinica.com/discussion/comment/17078#Comment_17078 for more information and a solution to this problem.

    This problem has been solved in OC 3.10.

    Regards,
    Marco

  • GerbenRienkGerbenRienk Posts: 750 ✭✭✭
    Hi Lena,
    Do you use the full path in your Expression, that is including FormOID and ItemGroupOID? In that case OC tries to get the values from the database as opposed to the form you are submitting.
    In general: anything you declare in the target, you do not have to specify in the expression.
    Hope this helps,
    Gerben Rienk
  • LenaLuessemLenaLuessem Posts: 11
    Thank you so much, it worked! :)
Sign In or Register to comment.