Jump to content

Recommended Posts

Posted

I'm not having a good SIMS day :( Last year I created a powershell script to do some scheduled reports using command reporter, for processing external to SIMS. When I came back after Christmas I noticed even though the report was running every week day, there were no entries from January. I reopened the report and changed the saved value in the filter for the date range and it started running again. Today I have noticed no entries for February! As an experiment I tried setting the saved date in the report to Monday and sure enough on the next run I got all the entries, including todays!

 

I am supplying the parameters to commandreporter as part of the command line and this seems to work fine. I didn't want to do it as a file as that adds more complexity to script and parsing xml.

 

Here is the kind of filter I mean:

 

SIMSFilter.PNG

 

Is there another way I should be doing this or is this a new bug?

Posted
That was the one! The ID was correct when I first set it up, under what situations will that ID change?

 

It seems to change any time the report is edited and saved.

  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...