Alarm Notification Pipeline Scrip Block setting a Parameter Value

I’m trying to set up a notification pipeline that allows me to check for the existence of items in a database and based on values returned from the query, make some decisions on routing the notifications. Is it possible to write to pipeline parameters from a pipeline script? I’m not finding much in the way of documentation on the script block and how it interacts with the pipeline.

Thanks,
Mike

I would love to know the answer to this!