Summary:
How to manually execute an iFace task and check task scheduling.
Instructions:
iFace configuration tool:
- Start iFace Configuration tool. (Note that you are often not able to stop iFace via the interface unless iFace configuration tool is "run as administrator".)
- You can see in the bottom of the configuration tool if the iFace service is running or is stopped. You can start/stop it using the "Start" and "Stop" buttons. (The iFace service can also be started/Stopped from Windows services.)
- iFace tasks have 3 possible statuses; Green (task executed successfully), Yellow (running), Red (failed). This is shown in the "Status" column.
- In the "Estimated next execution" column, you can see the timing the task is scheduled to run next, and in the "Last execution" you can see when the task was last run.
Restarting tasks:
If you need to manually execute a task, it's done as follows. Please note that you can see the next scheduled execution in the "Estimated next execution"
Sometimes it happens that a task in iFace is hanging, which means it's stuck in the yellow status. In these cases the task is also executed as below, but the status on the task needs to be reset first. Please see point 2.
- Stop iFace
- Mark the task you wish to execute. If the task is hanging in the yellow state, right click on the task and choose "Reset status". The status will go back to green.
- Press the "Execute" button. The task status should now turn yellow.
- Once the task has completed, it should either turn green or red. Note that sometimes it takes some time for a task to complete, depending on the amount of data that needs to be processed.
- If the task turns green, everything should be OK. If it turns red, an error message should show in the "Last execution Message" column, which indicates why the task was not successfully run.
This error message is needed by Basware Service desk if you need to report the error. Most tasks also have available logfiles, usually in the anyERP\Logfiles folder on the application server. (Please note that this location may vary depending on your set up!) These should also be provided to Basware service desk for troubleshooting. The logfile is named the same as the task in iFace, and has the same timestamp as in the "Last exection" column.
Check the scheduling of a task:
If you want to see the scheduling of a task in iFace this can be viewed from the "view" settings on the task. Note that iFace does not need to be stopped to view this, but it needs to be stopped in order to change the scheduling.
Please note that if iFace is stopped, the "View" button is called "Edit", as you then can change the settings on the task.
- Mark the task you wish to view the scheduling for, and press the "View" button on the right hand side. A new dialogue box will open.
- In the "Timing" pane, the scheduling can be viewed. E.g if the task is run every 1 hour, at a certain time of the day or similar.
- In the "Execution days" pane, you can view on which days the task is scheduled to run. E.g every weekday (Mon-Fri) or only on a certain day.
**********************************************
Suomeksi:
IFace –ajon uudelleen käynnistäminen
- Avaa IFace Configuration Tool –ohjelma.
- Paina ikkunan alareunasta Stop-painiketta.
- Kun palvelu on Stopped-tilassa, vasemman laidan Task functions –ryhmän painikkeet aktivoituvat.
- Valitse Tasks-listalta oikea ajo (jolloin sen riville tulee ensimmäiseen sarakkeeseen ruksi).
- Paina Execute-painiketta Task Functions –ryhmästä, jolloin ajo suoritetaan.
- Kun ajon ’liikennevalo’ näyttää taas vihreää, se on suoritettu onnistuneesti.
- Käynnistä lopuksi IFace-palvelu ikkunan alareunasta Start-painikkeella.
- Tämän jälkeen voit sulkea ohjelman Exit-painikkeella.