- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Pipeline : Run activity on Monday to Friday between 9am and 7pm
Hello,
I would like to run an activity in the pipeline only from Monday to Friday from 7:00 to 17:00.
I have added an If Condition Activity for this purpose.
I use the following expression for the false part to exclude Saturday and Sunday.
@OR(
equals(dayOfWeek(convertFromUtc(utcNow(),'W. Europe Standard Time')),0),
equals(dayOfWeek(convertFromUtc(utcNow(), 'W. Europe Standard Time')),6)
)
I don't know how to do this for the hours 7:00 to 17:00. The hour function, as in ADF, is not available. Do i miss anything?
Thank you very much for reading
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey,
You can use formatdatetime function to get the hour details :
Something like below :
----------------------------------------------------------------------------------------------
Nandan Hegde (MSFT Data MVP)
LinkedIn Profile : www.linkedin.com/in/nandan-hegde-4a195a66
GitHUB Profile : https://github.com/NandanHegde15
Twitter Profile : @nandan_hegde15
MSFT MVP Profile : https://mvp.microsoft.com/en-US/MVP/profile/8977819f-95fb-ed11-8f6d-000d3a560942
Topmate : https://topmate.io/nandan_hegde
Blog :https://datasharkx.wordpress.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey, thank you. That worked.
Here is the expression to exit (results to true, only monday to sunday between 9am and 5pm):
Please note that line breaks are accepted in the editor but leading to errors when executed.
Thank you.
Jörg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Joschko
Glad that your query got resolved. Please continue using Fabric Community for any help regarding your queries.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey,
You can use formatdatetime function to get the hour details :
Something like below :
----------------------------------------------------------------------------------------------
Nandan Hegde (MSFT Data MVP)
LinkedIn Profile : www.linkedin.com/in/nandan-hegde-4a195a66
GitHUB Profile : https://github.com/NandanHegde15
Twitter Profile : @nandan_hegde15
MSFT MVP Profile : https://mvp.microsoft.com/en-US/MVP/profile/8977819f-95fb-ed11-8f6d-000d3a560942
Topmate : https://topmate.io/nandan_hegde
Blog :https://datasharkx.wordpress.com

Helpful resources
Join our Fabric User Panel
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Fabric Monthly Update - June 2025
Check out the June 2025 Fabric update to learn about new features.

Subject | Author | Posted | |
---|---|---|---|
06-14-2025 01:02 AM | |||
12-13-2024 07:51 AM | |||
04-09-2025 01:25 AM | |||
12-01-2024 07:03 PM | |||
08-28-2024 03:58 PM |
User | Count |
---|---|
2 | |
2 | |
1 | |
1 |
User | Count |
---|---|
2 | |
2 | |
2 | |
1 | |
1 |