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
0 -
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
0 -
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
0 -
Another option is to upgrade the CS version.
Hans
0 -
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
0 -
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
0
Categories
- All Categories
- 123 Developer Announcements
- 54 Articles
- 151 General Questions
- 148 Thrust Services
- 57 OpenText Hackathon
- 37 Developer Tools
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 918 Core Messaging
- 84 Digital Asset Management
- 9.4K Documentum
- 32 eDOCS
- 186 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 8 XM Fax
- Follow Categories