# Report system.excute problem

**URL:** <https://forum.inductiveautomation.com/t/report-system-excute-problem/63950>\
**Category:** Ignition\
**Created:** [September 11, 2022, 7:52pm UTC](https://forum.inductiveautomation.com/t/report-system-excute-problem/63950 "2022-09-11T19:52:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mohamed\_elmarakby](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mohamed_elmarakby/32/38371_2.png) [@mohamed\_elmarakby](https://forum.inductiveautomation.com/u/mohamed_elmarakby)\
**Post date:** [September 11, 2022, 7:52pm UTC](https://forum.inductiveautomation.com/t/report-system-excute-problem/63950/1 "2022-09-11T19:52:52Z")

</div>

i have a problem , i followed the manual and wrote script on a button  
why report path and parameters are not passed ??

 ![Capture](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/c/eccd4384135c42acb275687a9d0e8360804e85ba.jpeg)

 ![1](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/4/54a5753d03a8de4098f755d043033e6271caacd7.jpeg)

 ![2](https://us1.discourse-cdn.com/inductiveautomation/original/3X/a/f/af871e478eb96a588706fb5a7dc10b0bbfb54e54.jpeg)

 ![3](https://us1.discourse-cdn.com/inductiveautomation/original/3X/6/e/6e893443f2eb4ee372a97e96fe8ba5dd04e1005c.jpeg)

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [September 11, 2022, 9:48pm UTC](https://forum.inductiveautomation.com/t/report-system-excute-problem/63950/2 "2022-09-11T21:48:49Z")

</div>

It’s not clear from your screengrabs what the relationship between your script and the Perspective Property Editor is. Assuming that the Property Editor is showing the props for the view then the problem is that your script is looking for `self.view.custom.start` and `self.view.custom.end` but those are not defined in the Property Editor for that view. (Note that there are no entries in `CUSTOM`.)

You need to create custom values `start` and `end` and bind them to something that will give them a valid date range.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [September 12, 2022, 3:30pm UTC](https://forum.inductiveautomation.com/t/report-system-excute-problem/63950/3 "2022-09-12T15:30:49Z")

</div>

The errors in the gateway logs indicate you’ve named your parameters `start` and `end`:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/b/d/bd9523f4c38f112176419c93f12c816a0ce20001.png)

But your script is supplying values for parameters named `StartDate` and `EndDate`:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/c/1cb9f1eb55ee4e874951ca91896e80eb1c31328f.png)
