number of iflows (avoid duplicate ) in day or specific time.
in CM;
LogStartDate
LogEndDate
Where query: import com.sap.gateway.ip.core.customdev.util.Message;
import java.util.HashMap;
def Message processData(Message message) {
def body = message.getBody(java.lang.String);
def map = message.getProperties();
def ManualStartDate = map.get("ManualStartDate")
def LogStartDate = map.get("LogStartDate")
def LogEndDate = map.get("LogEndDate")
def whereQuery
if (LogStartDate ==''){
message.setProperty ("StartDate", ManualStartDate)
}else{
message.setProperty ("StartDate", LogStartDate)
}
message.setProperty("EndDate", LogEndDate);
return message;
}
https://wlgore-d.it-cpi003.cfapps.us10.hana.ondemand.com/api/v1
Resource Path
MessageProcessingLogs
$select=MessageGuid,Status,IntegrationFlowName,LogStart&$filter=LogStart ge datetime'${property.StartDate}' and LogEnd le datetime'${property.EndDate}'