Flow Designer: Populate date using Flow Designer

Keerthi8197
Tera Contributor

I have a  requirement to populate date field on RITM using flow designer.

 

Scenario: When the record is getting created in table (XYZ), the flow gets triggered and via subflow RITM is created.

I have a date field in RITM and date value is called to subflow as : Input -> Record -> Date(This is passed as string to the date field). This when sent to the RITM, it is getting displayed wrongly (eg: 14/Apr/0036) while the input being 30-10-2024.

 

I thought it was due to mismatch in date format and developed a flow variable which will convert the input date value to instance format (DD/MMM/YYYY). Now this flow variable is passed to date field as: Flow variable -> Date conversion (i tried passing it as string also as date). This time, the field is empty on RITM. 

 

Can someone help here.

 

Thanks for your time.

 

 

 

 

 

 

3 REPLIES 3

Jon23
Mega Sage

Hi @Keerthi8197 

Instead of passing just the date to your subflow, you could pass the whole ref record. Then it should be a simple case of taking the input ref record date data pill and using it in the RITM record. - assuming both fields are of type Date.

Hi @Jon23 

 

Thanks for the reply.

My first try was in the same way using the data pill but as mentioned above it was coming up with wrong format in the RITM (eg: 14/Apr/0036). Also to mention, input field is of String type. 

 

I am not sure if I am missing something that you are expecting.

Any of your insights here would be helpful.

 

Thanks!

Hi @Keerthi8197 

 

Did you solve this in the end? I'm experiencing the same issue with the date being wrong on the RITM