This content has been marked as final. Show 8 replies
You can try it again with "dateCurrent(0)"
Hope it helpn for you
In your case, you can't use default value option for new revisions because, your content already has a value for metadata field.
1) Edit Your Rule
2) under General tab, check "Use rule activation condition" and click Edit
3) In "Edit Activation Condition" window click on "Side Effects" tab.
4) add the following code...
<$if isCheckin $> [[%or you can also use (IdcService and IdcService like "CHECKIN_SEL_FORM")%]] <$xWebStartDate=dateCurrent()$> <$endif$>
dateCurrent(0) does not work. I'm also trying to set the review date to a year from now with dateCurrent(365) and that doesn't work either.
Setting the value on the Side Effects tab doesn't work either. This used to work in 7.5 and 10g.
works for me on 220.127.116.11!
You're right, it works. I didn't have the rule enabled, haha. I didn't need the condition in the side effects tab because i'm already trapping the action. So, on the side effects tab I just set the xWebStart date. Thanks again Bunty
Another way to probably accomplish this would be to replace1 person found this helpful
in the default value section for the field with
While the earlier provided solution is perfectly acceptable, the nice thing with this particular approach is that the code is placed in the same place where you'd normally expect to see the default value, which might make it easier to remember and maintain later when you come back to the rule to edit it.
Thanks, yes that works also. And good point about putting it in a more obvious location.