Exemple #1
0
        public void Visit(BeginActEntry instruction)
        {
            _entries.Push(instruction);

            var policies = _privilegeCache.Find(_workflowObject.Type, instruction.Code);

            policies.Each(_ => _privileges.Add(_.Privilege));
        }
Exemple #2
0
        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);
            });
        }