# Service File Pre and Post activity not getting called. Pega Version 8.5

**URL:** <https://forums.pega.com/t/service-file-pre-and-post-activity-not-getting-called-pega-version-8-5/1380>\
**Category:** General\
**Tags:** java-and-activities, other-industry, 8-5-1, lead-system-architect\
**Created:** [May 5, 2021, 2:14pm UTC](https://forums.pega.com/t/service-file-pre-and-post-activity-not-getting-called-pega-version-8-5/1380 "2021-05-05T14:14:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Janmajay\_Adhikari](https://avatars.discourse-cdn.com/v4/letter/j/dec6dc/32.png) [@Janmajay\_Adhikari](https://forums.pega.com/u/Janmajay_Adhikari)\
**Post date:** [May 5, 2021, 2:14pm UTC](https://forums.pega.com/t/service-file-pre-and-post-activity-not-getting-called-pega-version-8-5/1380/1 "2021-05-05T14:14:23Z")

</div>

Hi All,

I have configured Pre and Post activity on Service File Rule but they are not getting executed. I have tried to Tracing the Service Rule, enabling logging in Pre and Post activities but these doesn’t get called. Any suggestion please.

Please see the attachment to view configuration.

 ![Service File Rule Pre and Post Activity.png](https://pega1.discourse-cdn.com/pega/original/2X/5/593ad39232b26d70912518ca31cd7939bb27e4d1.png)

---

<div class="post-metadata">

**Author:** ![Janmajay\_Adhikari](https://avatars.discourse-cdn.com/v4/letter/j/dec6dc/32.png) [@Janmajay\_Adhikari](https://forums.pega.com/u/Janmajay_Adhikari)\
**Post date:** [May 5, 2021, 2:30pm UTC](https://forums.pega.com/t/service-file-pre-and-post-activity-not-getting-called-pega-version-8-5/1380/2 "2021-05-05T14:30:10Z")

</div>

It seems we need to restart the File Listener, then only the config changes in Service File Rule are taken in consideration.
