Hello,
I need to find all the current requests that have a common data (customer number for example) which is an IN process data using GraphQl.
Is it possible ? Could you give me an example if yes?
Have a nice day,
Best Regards,
Sara
Hello,
I need to find all the current requests that have a common data (customer number for example) which is an IN process data using GraphQl.
Is it possible ? Could you give me an example if yes?
Have a nice day,
Best Regards,
Sara
Hi @sara,
Currently there are two ways:
{
requests(filter:{status:OPEN}, page:{size:100, number: 1}){
totalCount
hasNextPage
items{
name,
dataset(filter:{names:["CUSTOMER_NUMBER"]}){
items{
name
textValue
}
}
}
}
}
{
requests(filter:{status:OPEN, processName:"PROCESS_NAME_1"}, page:{size:100, number: 1}){
totalCount
hasNextPage
items{
name,
dataset(filter:{names:["CUSTOMER_NUMBER"]}){
items{
name
textValue
}
}
}
}
}
Unfortunately there is no quick way to retrieve only the requests that have a value in this data. If the data is non existant or empty, it will return a null array or an empty value for request’s dataset.
Hope this helps,
Eddy.
Thanks Eddy, Have a nice day !