Substituting admin_email in workflow command

The docs say you can refer to other values from collection.cfg like this:

pre_index_command=/opt/funnelback/custom/process_crawled_data.sh ${collection_root}

(Update workflow - Funnelback Documentation - Version 15.24.0)

So I assume I should be able to do this:

admin_email=xxx@xxx.com
post_gather_command=$SEARCH_HOME/conf/$COLLECTION_NAME/@workflow/check-url-errors.sh $COLLECTION_NAME $CURRENT_VIEW "${admin_email}"

But I’m getting a blank value for ${admin_email} (I’ve tried with and without double-quotes). Is this meant to work, and any ideas why it’s not?

Hi David,

This appears to not work as advertised. I’ll raise a bug ticket.

I’ve heard back from the developers and this is unlikely to be fixed. It will probably just be removed from the documentation.

Thanks Peter, that’s a shame, but appreciate the final response.