<p>I am working with Cognos8 Report Studio. In my report there are two date prompts: <code>START date</code> and <code>END date</code>. Users can select two different dates or make them both the same date. But the report has valid data only for the last business date of each month. For example, if Jan 31 is Sunday, valid data is available only for Jan 29 which is Friday (the last business day of the month).</p>

<p>Can I have a customized "Date Prompt" where I can disable all other dates except the last business day of each month? Users should be able to select only month-end dates and no other dates?</p>

[{'answer_id': 63595, 'author': 'Patrick Cuff', 'author_id': 7903, 'author_profile': 'https://Stackoverflow.com/users/7903', 'pm_score': 0, 'selected': False, 'text': '<p>You can run Rational Robot from the command line, so you should be able to set up a scheduled task to run a .BAT file to do this for you. The command is something like:</p>\n\n<p>[path to Rational Robot]\\rtrobo [script file] /user "user name" /project [project file] /play /build "build name" /nolog /close</p>\n\n<p>The Robot documentation will have other arguments you can pass in, depending on your situation.</p>\n\n<p>If a simple scheduled task doesn\'t work, then you can try setting up a STAF (<a href="http://staf.sourceforge.net/index.php" rel="nofollow noreferrer">http://staf.sourceforge.net/index.php</a>) environment and create a job to run this.</p>\n\n<p>Good luck :)</p>\n'}, {'answer_id': 180508, 'author': 'Tom E', 'author_id': 9267, 'author_profile': 'https://Stackoverflow.com/users/9267', 'pm_score': 1, 'selected': False, 'text': '<p>Unfortunately, Robot does require that you are logged on to the machine and that the desktop is not locked.  </p>\n\n<p>So, no, you are not missing something.</p>\n\n<p>Depending on your situation, though, you may be able to work around the issue.  Can you clarify what type of application you are trying to test?  If it is a web app, or a client app that is easily installed/copied, you might be able to have Robot run on a vmware image, rather than directly on the build server itself.</p>\n'}]
['https://Stackoverflow.com/questions/62865', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/7172/']