Blue Prism University

last person joined: 6 hours ago 

Discuss and learn more about Blue Prism University and certification.
Expand all | Collapse all

BP Foundation / Section 9 / Activity 5a *** PROBLEM ***

Jump to Best Answer
  • 1.  BP Foundation / Section 9 / Activity 5a *** PROBLEM ***

    Posted 08-21-2020 05:49
    In this document Section 9 Activity Sheet.pdf, activity 5a, the instruction is to enter
    Now() + MakeTimeSpan (0, 0, 5, 0)
    into Defer Until, Add To Queue Action stage.

    But, in the video description, this is entered
    Today() & " " & LocalTime() + MakeTimeSpan(0, 0, 5, 0)
    into Defer Until, Add To Queue Action stage.

    The one at the top, ends up with this error:
    "The following error has occurred: Your expression does not appear to be valid: Syntax error. The token '0' is invalid. Please check the case of your operators (eg 'or' versus 'OR') and check that your functions use brackets after the function name eg Now(), eg Len("abc")."

    The second one (video) gets this error:
    "The following error has occurred: Your expression does not appear to be valid: Syntax error. The token '0' is invalid. Please check the case of your operators (eg 'or' versus 'OR') and check that your functions use brackets after the function name eg Now(), eg Len("abc")."

    QUESTIONS ===
    What shall I do?
    Why is there two different instructions?

    Thanks in advance.

    ------------------------------
    Jonas Hedström
    ------------------------------


  • 2.  RE: BP Foundation / Section 9 / Activity 5a *** PROBLEM ***

    Posted 08-21-2020 05:51
      |   view attached


    ------------------------------
    Jonas Hedström
    ------------------------------

    Attachment(s)

    pdf
    Section 9 Activity Sheet.pdf   1.61MB 1 version


  • 3.  RE: BP Foundation / Section 9 / Activity 5a *** PROBLEM ***

    Posted 08-21-2020 11:55
    Hi Jonas.

    Both the of expressions you listed are valid syntactically. I checked them both very quickly using a calc stage.

    Option 1:

    Option 2:

    I just cut and pasted the formulas as you posted.

    jack

    ------------------------------
    Jack Look
    Sr Product Consultant
    Blue Prism
    ------------------------------



  • 4.  RE: BP Foundation / Section 9 / Activity 5a *** PROBLEM ***

    Posted 08-24-2020 03:46
    Hi Jack,

    Thanks for trying to help me.

    Please see attached. Both expressions, bot errors.

    Why do I get that problem, but not you?
    What can I do?
    Is there any small setting I have missed anywhere?

    Looking forward to complete BP Foundation.


    ------------------------------
    Jonas Hedström
    ------------------------------



  • 5.  RE: BP Foundation / Section 9 / Activity 5a *** PROBLEM ***
    Best Answer

    Posted 08-24-2020 07:46
    I solved it!!!

    Change from: Today() & " " & LocalTime() + MakeTimeSpan(0, 0, 5, 0)
    Change to: Today() & " " & LocalTime() + MakeTimeSpan(0; 0; 5; 0)

    ------------------------------
    Jonas Hedström
    ------------------------------



  • 6.  RE: BP Foundation / Section 9 / Activity 5a *** PROBLEM ***

    Posted 08-24-2020 08:08
    @Jonas Hedström - so glad that you were able to resolve this! Thanks for sharing your solution.  ​

    ------------------------------
    Melanie Giuliani
    Online Community Manager
    Blue Prism
    ------------------------------



  • 7.  RE: BP Foundation / Section 9 / Activity 5a *** PROBLEM ***

    Posted 08-24-2020 09:36
    Great news Jonas!

    jack

    ------------------------------
    Jack Look
    Sr Product Consultant
    Blue Prism
    ------------------------------