The CreatorCon Call for Content is officially open! Get started here.

How to make a Ui action dissapear after 30 days of task closure

kartikey
Tera Contributor

Hi Everyone,

I want to make my Ui action unavailable after 30 days when a task gets closed.
How should i achieve this?

Thanks,
Kartikey

9 REPLIES 9

Hi,

This is not working, as soon as i close the task, the UI action is getting disappeared.

Thanks,
Kartikey

Hi,

 

In condition tab -

current.closed_at>gs.beginningOfLast30Days()

 

I have tested in PDI.

 

Please mark helpful and accept the solution.

 

Thanks

Hi @kartikey ,

 

Please use the following in conditions field -

 

current.closed_at>gs.beginningOfLast30Days()

 

I have myself tested in the PDI. Let me know if you have any questions.

 

Please mark this helpful and accept the solution.

 

WR,

Uday Singh

udaysingh16
Tera Contributor

Please use the following in condition field -

current.closed_at>gs.beginningOfLast30Days()

 

Please mark this helpful if this works, i have myself tested in PDI

 

WR,

Uday

Srinu Goka
Tera Contributor

Hi,

 

Try this one 

(!(current.closed_at<=gs.beginningOfLast30Days())|| (current.closed_at==""))

 

Thanks,

Srinu