Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
9 replies
Subscribers
7 subscribers
Views
4271 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
Can anyone let me know, how do we get the Last Updated time of a particular CONS
ENOSH EZEKIEL
A Score Level 1
over 8 years ago
Can anyone let me know, how do we get the Last Updated time of a particular CONSTANT ??
OriginalPostID-190022
OriginalPostID-190022
Discussion posts and replies are publicly visible
Parents
0
sonalk
over 8 years ago
You can show the now function in a text field in the tempo form itself and display the text field only if the constant is modified.
Assuming that the updated constant is being stored in a rule input, you could use the code below :
if(
rule!APN_isEmpty(ri!updatedValue_text),
{},
a!textField(
label: "Updated time",
labelPosition: "ABOVE",
value: now(),
readonly: true(),
refreshAfter: "UNFOCUS",
validations: {}
)
)
Hope it helps.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
sonalk
over 8 years ago
You can show the now function in a text field in the tempo form itself and display the text field only if the constant is modified.
Assuming that the updated constant is being stored in a rule input, you could use the code below :
if(
rule!APN_isEmpty(ri!updatedValue_text),
{},
a!textField(
label: "Updated time",
labelPosition: "ABOVE",
value: now(),
readonly: true(),
refreshAfter: "UNFOCUS",
validations: {}
)
)
Hope it helps.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data