Why can't extension logic blocks be of type Background task?

I’m trying to extend a background task type logic block and encountering Error - Extension Logic Blocks cannot be type Background Task.

Why can’t I do this?

There was a lengthy discussion on this topic in response to this post. Conclusion - Extension logic blocks should always be the same type as the extended logic block and save-time validation must ensure that is the case. A recent bug fix went in for this validation.

In terms of transaction/process boundaries, the type of logic block is irrelevant for an extension. The extension is always in the same transaction boundary as the extended. The matching-type requirement is to ensure that the available actions, which differ by logic block type, are aligned.

4 Likes

Is my understanding correct that the ability to extend a Background Task logic block with another Background Task logic block is coming/will be supported at some point?