Conditional RTE Write in AUTOSAR is only achievable for the ports mapped as ExplicitSend.
It might not be straightforward to change the access mode from Implicit to explicit, as you might be strictly confined to implicit access mode by your architecture team. Please seek your architect's input before considering this change in your design.
Below is a snippet of the AUTOSAR specification, as you can see, it is specified for the Implicit Write to send the values at the end of the runnable execution. According to the AUTOSAR specification when using "ImplicitSend" for data elements, the values are only sent after the runnable has finished running. This means they are stored in a buffer while the runnable is working. Below is a graphic showing how Implicit communication works:
Using "ImplicitSend" with conditional writing doesn't make sense. This is because no matter what condition you set for sending the data, it will be sent to the RTE at the end of runnable execution.
For "ExplicitSend" the data is sent to RTE when it gets updated, which is why the condition has an impact on whether the data is written or not.
That's why we have made a conscious decision for Implicit Write to execute unconditionally at the end of runnable execution.
In contrast, conditional Explicit Write can happen in different scenarios because “Runnable can decide” when to send data.