public void Visit(BeginActEntry instruction) { _entries.Push(instruction); var policies = _privilegeCache.Find(_workflowObject.Type, instruction.Code); policies.Each(_ => _privileges.Add(_.Privilege)); }
public void Visit(BeginActEntry instruction) { executeInstruction(() => { _configurations.Add(instruction); _entries.Push(instruction); var begin = new BeginMappedProperty { Key = new DynamicValue("details"), AllowEmpty = true, }; Visit(begin, (entry, row) => _workflowObject.Type.EqualsIgnoreCase(entry.Entity) && row.AsInt("act_code") == instruction.Code); }); }