Deferring Items
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
17-02-22 10:39 AM
Hi All,
Why is this Expression Today()&**&LocalTime()+MakeTimeSpan(0, 0, 5,0) invalid? and
the following error has occurred:
Your expression does not appear to be valid:
The & operation must have two operands
and how to solve it?
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
17-02-22 11:11 AM
Hi Sanaa,
The & operator works with Text Data. If you don't provide text then auto-casting will take place into Text type. Here in the expression, ** is the invalid part. You need to enclose it within double quotes. The correct expression is: Today() & "**" & LocalTime() + MakeTimeSpan(0,0,5,0). This will return you something like this:

Let me know if your query is resolved and if it resolves your question please mark it as the best answer so that others can track it easily.
The & operator works with Text Data. If you don't provide text then auto-casting will take place into Text type. Here in the expression, ** is the invalid part. You need to enclose it within double quotes. The correct expression is: Today() & "**" & LocalTime() + MakeTimeSpan(0,0,5,0). This will return you something like this:
Let me know if your query is resolved and if it resolves your question please mark it as the best answer so that others can track it easily.
---------------------------------------------------------------------------------------------------------------------------------------
Hope this helps you out and if so, please mark the current thread as the 'Answer', so others can refer to the same for reference in future.
Regards,
Devneet Mohanty,
SS&C Blueprism Community MVP 2024,
Automation Architect,
Wonderbotz India Pvt. Ltd.
Hope this helps you out and if so, please mark the current thread as the 'Answer', so others can refer to the same for reference in future.
Regards,
Devneet Mohanty,
SS&C Blueprism Community MVP 2024,
Automation Architect,
Wonderbotz India Pvt. Ltd.
