Пример #1
0
 def sync_flow_instance(self, flow_id):
     """
     :param str flow_id:
     """
     return_type = FlowSynchronizationResult(self.context)
     qry = ServiceOperationQuery(self, "SyncFlowInstance", None,
                                 {"flowId": flow_id}, None, return_type)
     self.context.add_query(qry)
     return return_type
Пример #2
0
 def sync_flow_templates(self, category):
     """
     :param str category:
     """
     return_type = FlowSynchronizationResult(self.context)
     payload = {"category": category}
     qry = ServiceOperationQuery(self, "SyncFlowTemplates", None, payload,
                                 None, return_type)
     self.context.add_query(qry)
     return return_type
Пример #3
0
 def sync_flow_instances(self, retrieve_group_flows):
     """
     :param bool retrieve_group_flows:
     """
     return_type = FlowSynchronizationResult(self.context)
     payload = {"retrieveGroupFlows": retrieve_group_flows}
     qry = ServiceOperationQuery(self, "SyncFlowInstances", None, payload,
                                 None, return_type)
     self.context.add_query(qry)
     return return_type
Пример #4
0
 def sync_flow_instances(self, target_web_url):
     """
     :param str target_web_url:
     """
     return_type = FlowSynchronizationResult(self.context)
     payload = {"targetWebUrl": target_web_url}
     qry = ServiceOperationQuery(self, "SyncFlowInstances", None, payload,
                                 None, return_type)
     self.context.add_query(qry)
     return return_type
Пример #5
0
 def create_document_with_default_name(self, folder_path, extension):
     """
     :param str folder_path:
     :param str extension:
     """
     return_type = FlowSynchronizationResult(self.context)
     payload = {"folderPath": folder_path, "extension": extension}
     qry = ServiceOperationQuery(self, "CreateDocumentWithDefaultName",
                                 None, payload, None, return_type)
     self.context.add_query(qry)
     return return_type
Пример #6
0
 def get_business_app_operation_status(self):
     return_type = FlowSynchronizationResult(self.context)
     qry = ServiceOperationQuery(self, "GetBusinessAppOperationStatus",
                                 None, None, None, return_type)
     self.context.add_query(qry)
     return return_type
Пример #7
0
 def get_group_based_environment(self):
     return_type = FlowSynchronizationResult(self.context)
     qry = ServiceOperationQuery(self, "GetGroupBasedEnvironment", None,
                                 None, None, return_type)
     self.context.add_query(qry)
     return return_type