Help with dynamic expression pls๐Ÿ˜“

Hi๐Ÿ˜ƒ

I would like to display to the user the date of his next credits top-up. Credits are topped up every month through scheduled workflow.

Scheduling starts when the user creates the account.

Any ideas how I could display that to the user?

Say d = User's created date : change month to current date's month : change year to current date's year.

If d is less than current date, then display d+1 month, else display d.

Something like this? It seem itโ€™s not working

Use a field only with the date and change it everytime the workflow is launch

Bit complex to show here in text.

What you are doing is changing month to current date/time. You need to change the month to current date time: extract month. Similarly for year.

What you can do is store this in one group (make the content type of the group as date and put this as its value). And then on the place where you want to show date, in the text refer to this group1โ€™s content. group1's date < current date : formatted as text and then in yes you put group`'s date + months 1 and in no you put group1's date

1 Like

I managed to make it work! Thanks for help๐Ÿ˜ƒ