Team,
I am suppose to trigger BackgroundTask on any action on the Tridion 14 SP1 WebClient.
Here is my configuration of WritePlugin triggering BackGroundTask
WritePlugin Configuration:
<codeblock>
<plugin name="DellPubObjectRecordEdit" handler="BlobSendEvent" ishcondition="CurrentAction in ('Create', 'Update', 'Checkin','SetMetadata','CheckOut','UndoCheckOut')">
<description>Write Plugin Extracting the form properties information on the following set of events on Topics, Map and Libraries</description>
<workingset>
<ishfields>
<ishfield name="FTITLE" level="logical"/>
</ishfields>
</workingset>
<initialize>
<parameters>
<parameter name="EventType">MetaDataExportTask</parameter>
<parameter name="RequestedMetadata">
<ishfields>
<ishfield name="FTITLE" level="logical"/>
</ishfields>
</parameter>
</parameters>
</initialize>
</plugin>
</codeblock>
MetaDataExportTask is getting triggered for only on Create Events but not on any other actions. Also In Create actions, Background Task is getting failed throwing error
Event handling MetaDataExportTask failed with: A method call is invalid for the object's current state: Too many exports for handler MetaDataExportTask
Here is the BackgroundTask Connfiguration:
<handler eventType="MetaDataExportTask">
<scheduler executeSynchronously="false" />
<authorization type="authenticationContext" />
<execution timeout="01:00:00" recoveryGracePeriod="00:10:00" isolationLevel="None" useSingleThreadApartment="false" />
<activator>
<net name="MetaDataExportTask">
<parameters>
<parameter name="action">MetaDataExportTask</parameter>
<parameter name="description">Custom Plugin exporting the Object Type Meta data to Physical Storage System</parameter>
<parameter name="service_base_url">wmsvc-sha2-windows-2n12li2/.../</parameter>
<parameter name="requestedmetadata">
<ishfields>
<ishfield name="FTITLE" level="logical" />
</ishfields>
</parameter>
</parameters>
</net>
</activator>
<errorHandler maximumRetries="10">
<actions>
<!-- Retry on connection failures to the external system -->
<add errorNumber="-111001" action="Retry" delay="00:10:00" />
<!-- Retry on integration failures to the external system -->
<add errorNumber="-111002" action="Retry" delay="00:10:00" />
</actions>
</errorHandler>
</handler>
I am not sure where i am going wrong. It would be really helpful if anyone can help me out what i am doing wrong here and where i am going wrong.