on 03-10-2019 6:57 PM
Hello All,
I have a date and time type property in one of my Agentry object, I need to extract the date from the Date and Time field in one of my rule.
Could you please guide me to achieve this?
Thanks,
Sudhir.
Hi Sudhir,
I would write such rule as one of follows.
1)
DATE
DATE_AND_TIME
CustomObjectDateAndTimeProp
OR
2)
LEFT
DATE_AND_TIME
CustomObjectDateAndTimeProp
10
do let know if any of this suits your requirement ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
AK,
Thanks for sharing and being part of this community. We appreciate all suggestions and comments.
Regards,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sudhir,
Most of our Agentry rules are defined in the SAP documentation.
With respect to the Date and Time property, it states: The DATE_AND_TIME function returns either the current system date and time of the client device, or the date and time value specified as an optional parameter to the function. The function can also take an optional format parameter when called in a string context. The function supports the integral number, decimal number, and string return types.
Here is the link to the documentation:
An example of this is in Work Manager for some time update rules (the actual field just returns the value). If you want to use the Date_AND_TIME the syntax is in the link above.
Regards,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.