Skip to main content
Navigator | Tier 3
August 9, 2023
Question

Number of days in amonth

  • August 9, 2023
  • 10 replies
  • 440 views

How can i get number of days in a month by automation anywhere.

    10 replies

    Marc Mueller
    Most Valuable Pathfinder
    Most Valuable Pathfinder
    August 14, 2023

    Hi @sravanthi 9047 ,

     

    you could do something like that:

     

     
    🤝Let's connect on LinkedIn: https://www.linkedin.com/in/developer-marc-mueller >>>>>>>> 📺Check out my YouTube channel - https://youtube.com/@AutomationDevelopmentEasy
    Navigator | Tier 3
    August 14, 2023

    Hello Marc,

                     i need the no of days current month,from that days need to substract 9 days.In the month 21st or 22nd my mot should run.so i sholud wire the expression for that.from the above solution i could not find the exact solution.

     

    Marc Mueller
    Most Valuable Pathfinder
    Most Valuable Pathfinder
    August 14, 2023

    @sravanthi 9047 

    You have asked how to get the days in the current month.

    So no matter which day you run your bot it is calculating the last day of the current month. (because we specified MM/01/yyyy for start date)

     

    Maybe better give the full explanaition of what you are trying to achieve.

     
    🤝Let's connect on LinkedIn: https://www.linkedin.com/in/developer-marc-mueller >>>>>>>> 📺Check out my YouTube channel - https://youtube.com/@AutomationDevelopmentEasy
    Navigator | Tier 3
    August 14, 2023

    Hell marc

            Thank for your quick reply,Actualy first i need to calculate the no of days in the current month.

    second substract 9 days from that ,third i need to check weather the date or day we get is working day or not.if the day is sauterday or sunday the bot will run on next working day,if day is working day the bot run on the same day itself.

    Navigator | Tier 3
    August 14, 2023

    Hell marc

            Thank for your quick reply,Actualy first i need to calculate the no of days in the current month.

    second substract 9 days from that ,third i need to check weather the date or day we get is working day or not.if the day is sauterday or sunday the bot will run on next working day,if day is working day the bot run on the same day itself.

    You have done a great job telling us what you need, how about sharing what you have tried on your own?

     
    Marc Mueller
    Most Valuable Pathfinder
    Most Valuable Pathfinder
    August 15, 2023

    Hi @sravanthi 9047 ,

    what about this one?

     

     
    !!! IMPORTANT !!! - On Line 11 you need to set this EEEE
     

     

     
     
     
    🤝Let's connect on LinkedIn: https://www.linkedin.com/in/developer-marc-mueller >>>>>>>> 📺Check out my YouTube channel - https://youtube.com/@AutomationDevelopmentEasy
    Navigator | Tier 3
    August 16, 2023

    Hell marc,

                      yes i am able to get what i want.How can i invoke workflow in automation anywhere like uipath.

    Tamil Arasu10
    Most Valuable Pathfinder
    Most Valuable Pathfinder
    August 16, 2023

    Hi @sravanthi 9047 ,

    How can i invoke workflow in automation anywhere like uipath.

    I believe you are referring to calling the subtasks is right? 

    RPA tutorial, Calling sub-task from master tasks in Automation ...

     

    _Tamil_
    Navigator | Tier 3
    August 16, 2023

    Hi Tamil Arasu10,

                 Thank you for the reply.Yes,what i mean to say is you mentioned correct.

    Tamil Arasu10
    Most Valuable Pathfinder
    Most Valuable Pathfinder
    August 16, 2023

    Hi @sravanthi 9047 ,

    Using the below action, you can call the subtasks.

    Run
    _Tamil_