WR Trigger not working at Create Event while the same WR Trigger is working at Update Category Even

Hello Experts,

Good Morning.

I was implementing one business logic by writing WR Trigger on 2 events i.e. "Create" and "Update Category" event.

Here I am calling to sub webreport from primary webreport by passing parameter as below.

[LL_WEBREPORT_SUBWEBREPORT NODEID:139874 PARM:inputlabel1:[LL_REPTAG_TRIGGERID /] /]

By passing dataid of the trigger node, it is not able to execute to execute the live report attached to the sub-webreport at Create event but same is working absolutely fine at "Update Category" Event. Here I have attached the screenshot.

I need assistance here to debug the issue.

Cheers,

Aswini

Answers

  • HI Aswini,

    I think it is able to execute the WR. You can check that by implementing an else or write logging to a file.

    The problem you face is that the WR is triggered when the Business Workspace object is created. At that time the sub-items are not yet created. Therefore your LR doesn't return any rows.

    In later versions there is a "Create Workspace" event, that will be triggered after the complete workspace is created.

    Hans

  • Hi @Hans Stoop ,

    Good morning.

    Thank you for the quick response. To handle this use-case, Is there any patch available or how we can proceed in this scenario?

    Cheers,

    Aswini

  • The only thing you can do is write something to the database and have a scheduled report to process the table.

    Another option is to do your action when these specific folders are created.

    Hans

  • Another option is to upgrade the CS version.

    Hans

  • Hi @Hans Stoop ,

    In the above webreport, I am moving the business workspace to a different location, then calling to sub-webreport. Here the workspace is getting moved with all the sub folders, but calling to sub-webreport with parameter is not happening. Is it something issue with the create event or core bug in OTCS 20.4?

    Cheers,

    Aswini

  • Hi Aswini,

    I suggest that you add some debugging output and define as destination a file in CS. Then you can check what is happening in the WebReports.

    Hans