populateTransientMap(entry, transientVars, wf.getRegisters(), null, store.findCurrentSteps(id));
populateTransientMap(entry, transientVars, wf.getRegisters(), null, store.findCurrentSteps(id), ps);
    public void executeTriggerFunction(long id, int triggerId) throws WorkflowException {        WorkflowStore store = getPersistence();        WorkflowEntry entry = store.findEntry(id);        if (entry == null) {            log.warn("Cannot execute trigger #" + triggerId + " on non-existent workflow id#" + id);            return;        }        WorkflowDescriptor wf = getConfiguration().getWorkflow(entry.getWorkflowName());        PropertySet ps = store.getPropertySet(id);        Map transientVars = new HashMap();        populateTransientMap(entry, transientVars, wf.getRegisters(), null, store.findCurrentSteps(id));        executeFunction(wf.getTriggerFunction(triggerId), transientVars, ps);    }