Post

2 followers Follow
0
Avatar

Register approval date from calculated field confirmation

Hello

I have a calculated filed that track if a request is approved based on the input of 3 other field

 

if ((@Approved 1=='Y') && (@Approved 2=='Y') && (@Approved 3=='Y'))
{1}
else
{0}

 

I want that when this filed return 1, another filed will permanently track current date as approval date

 

I can't find any method since trying

var current = new Date();

if ((@Approved 1=='Y') && (@Approved 2=='Y') && (@Approved 3=='Y'))
{current}
else
{0}

give me an error.

Davide Z

Please sign in to leave a comment.

2 comments

0
Avatar

Hi Rainer

I receive a message telling me there need to a referral to other field and not just calculation.

Something I didn't understood since there are three referred fields inside my new calculation.

Davide Z 0 votes