# Problem with mapping in scheduled task

**URL:** <https://forum.litium.com/t/problem-with-mapping-in-scheduled-task/837>\
**Category:** Questions\
**Created:** [May 7, 2019, 12:09pm UTC](https://forum.litium.com/t/problem-with-mapping-in-scheduled-task/837 "2019-05-07T12:09:26Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![patric.forsgard](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/patric.forsgard/32/10_2.png) [@patric.forsgard](https://forum.litium.com/u/patric.forsgard)\
**Post date:** [May 7, 2019, 12:46pm UTC](https://forum.litium.com/t/problem-with-mapping-in-scheduled-task/837/2 "2019-05-07T12:46:19Z")

</div>

The mapping for the `PageModel` is using the information from `RouteRequestLookupInfo` to see if the page is published for the specified channel. If the the page not is published it will return `null`, the same if the `RouteRequestLookupInfo` not is set in the `RouteRequestLookupInfoAccessor`. (same problem as you have in the linked thread.

---

_[View the full topic](https://forum.litium.com/t/problem-with-mapping-in-scheduled-task/837)._
