Example #1
0
        protected override void ParseResult(CodeActivityContext context, JObject json)
        {
            var card = json["card"] as JObject;

            Card.Set(context, card);

            var fieldsJson = card["fields"] as JArray;
            var fieldsDict = PipefyExtensions.FieldsJArrayToDictionary(fieldsJson);

            CardFieldsDictionary.Set(context, fieldsDict);
        }
Example #2
0
        protected override void ParseResult(CodeActivityContext context, JObject json)
        {
            var record = json["table_record"] as JObject;

            TableRecord.Set(context, record);

            var fieldsJson = record["record_fields"] as JArray;
            var fieldsDict = PipefyExtensions.FieldsJArrayToDictionary(fieldsJson);

            TableRecordFieldsDictionary.Set(context, fieldsDict);
        }