- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2023 08:58 AM
Hello All,
I have created a variable "Deactivation Date" in a catalog item. I am fetching the variable through "Get Catalog Variables" in Flow designer. But, the output in flow context is shown as "undefined". But, the date field is filled with date in the RITM. Can someone tell me why am I getting "undefined"?
1. Catalog Item Variable
2. Variable in the RITM
3. "Get Catalog Variables" in flow designer
4. "undefined" in flow context
Regards
Anirban
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2023 12:54 PM
Hi @anirban300
It looks good, based on your screenshots. How does this date get populated? Is it always read-only? That's the only thing I can think of off the top of my head.
I made a quick test in my testing catalog in my sandbox instance. Here are some screenshots:
1. Can enter date in:
2. Added "Get catalog variables" and then feed this into the "Create Catalog Task"
3. Test request did get date:

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2023 12:54 PM
Hi @anirban300
It looks good, based on your screenshots. How does this date get populated? Is it always read-only? That's the only thing I can think of off the top of my head.
I made a quick test in my testing catalog in my sandbox instance. Here are some screenshots:
1. Can enter date in:
2. Added "Get catalog variables" and then feed this into the "Create Catalog Task"
3. Test request did get date:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2023 07:11 AM
Hi,
Thanks for your reply. I was doing something wrong so it was showing undefined. Now, it works. I have another doubt if you can help me.
I want to use this deactivation date in a "wait for a duration of time" logic. But, I am not able to select the deactivation date. Do you know why?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2023 07:43 AM
I saw this in another thread - you should be able to wait until a relative duration after a variable field. Here's a screenshot from my test catalog. I dragged "test_date_time" from the right into this "wait for time" flow logic
-Matt