Thứ Ba, 13 tháng 9, 2016

Sample data json for inbasket dynamic filler

var json = {
  "queueName":"DY_R1",
  //inbasket queue name
  "inbasketName":"R1",
  //inbasket name
  "hideFilterUI":true,
  // true will hide the inbasket filter
  "queryFilter":"(DY_Company = :A) OR (DY_Company = :A AND DY_LOC = :A) AND (DY_Int > :A)"
  //Please see PE Java API doc(VWWorkBasket class,fetchFilteredBatch function,
  //queryFilter parameter) to construct the parameter
  "queryFields": [
   {
     "name": "DY_Company",
     //filter field symbolic name
     "type": "xs:string",
     // filter field type
     "value":["ABC","XYZ"]
     // Array represents OR condition. The expression only supports equal operator.
    // When the filter operator is Equal, that mean "value=="ABC" OR value==XYZ"
    // If the filter field is a choice list type, value need to be input by choice item value
    // If the filter field is case type, value need to be input by case type id.
   },
   {
     "name": "DY_LOC",
     "type": "xs:string",
     "value":"Beijing"
   },
   {
     "name": "DY_Int",
     "type": "xs:integer",
     "value":2
   }
  ],
  "hideLockedByOther":true
  // true will hide the work items locked by other.
 };

Không có nhận xét nào:

Đăng nhận xét