When outputting data via the Salesforce Output tool, if there are no records to output Salesforce still creates a job with zero batches and never closes it. If the workflow produces no data to be sent to Salesforce then how do I:
- Close the Salesforce job after the workflow completes?
...or... - Prevent the Salesforce job from being created in the first place if no records will be outputted?
I tried using the block tool to prevent data from being sent to the output tool in the first place, but it apparently still creates a job with no batches in Salesforce.