Salutation and Date

Options

Hello, this might be an easy question for others, but I am having issues with adding in the current date onto my letter. Then in addition adding in the informal salutation after Dear..,., and in saying that sometimes depending on status it is either informal salutation of informal joint salutation. Any help would be appreciated. Thank you, Theresa Remek

Comments

  • Get get the current date, you can use the utcNow() function and then wrap that in a formatDateTime function. So something like this: formatDateTime(utcNow(), 'MM-dd-yyyy')

  • Theresa Remek:

    Hello, this might be an easy question for others, but I am having issues with adding in the current date onto my letter. Then in addition adding in the informal salutation after Dear..,., and in saying that sometimes depending on status it is either informal salutation of informal joint salutation. Any help would be appreciated. Thank you, Theresa Remek

    For this portion, it's probably easiest to add a conditional control for each type of salutation. You can make the condition based on the status.

  • Thank you Matt! I am very new at this so can you screen shot what this entails or reference a class?

  • Theresa Remek:

    Thank you Matt! I am very new at this so can you screen shot what this entails or reference a class?

    So this is how you would add the current date. You can add the expression anywhere, I just created a variable at the beginning of the flow and I can plug in the currentDate variable wherever I need it.

    e5c6a0762452fef652540fcc1b571961-huge-im
  • Theresa Remek:

    Thank you Matt! I am very new at this so can you screen shot what this entails or reference a class?

    Again, for the other part, I've pasted below how to add a conditional. It really depends on how you're using this flow as to how you'd set it up. Can you describe or post a screenshot of what you're trying to do and I could probably give a more detailed example.

    2bffe53cfd8d83ebdf5c2e1f47e81206-huge-im
  • Thank you, Matt, for helping Theresa and others in Community.

Categories