209
Views
2
Comments
[Screen Action] [Screen Action] How to call WebBockActionCall from another web block?
Question
screen-action
Service icon
Forge asset by Matheus Medeiros

Hi,

I have a web block WB1 (it is the instance name) with an action Action1. When I put it directly on a screen I can call it using WebBlockActionCall with parameters: WebBlockRuntimeId = WB1.Id, ActionName = "Action1". But when I encapsulate this set in an another web block, WebBlockActionCall says (ErrorMessage) that: Fail to find the Web Block with the provided Id.

Can I do that - and how?

Regards

Tomasz

2026-01-19 17-09-56
Carlos Lessa
 
MVP

Hello Tomasz,

When you have WB inside WB, you need to use the action Notify in the child WB and pass a Message and on the parent WB you need to use the NotifyGetMessage to get the message and then u can use this message to call your action, the same if you have WB inside WB that is inside WB and so on, Think like if the WB was an island and just see and communicate with what is inside of the island, to communicate to outside you need to call (Send a message ) someone outside the island

UserImage.jpg
Tomasz M Lipinski

Hi,

This is not the case. I don't want to call parent WB action from the child WB but a child WB action from parent. It works (using WebBlockActionCall) when the calling action is placed directly on a screen. But it doesn't work when the calling action is placed on a WB.

Regards

Tomasz

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.