Here is my Parse json. A user fills our form and can include an attachment. It they do not it fails. If they do it succeeds.
Solved! Go to Solution.
hi @Annabelle what you need to do is manage a condition if the field Fileupload is empty or not.
see
so if is empty go true part but if contains a file you can use parse json to get the link and the use that file
Proud to be a Flownaut!
Hi @Annabelle
Can you try this:
{
"type": ["array","null"],
"items": {
"type": ["object","null"],
"properties": {
"name": {
"type": "string"
},
"link": {
"type": "string"
},
"id": {
"type": "string"
},
"type": {},
"size": {
"type": "integer"
},
"referenceId": {
"type": "string"
},
"driveId": {
"type": "string"
},
"status": {
"type": "integer"
},
"uploadSessionUrl": {}
}
}
}
if that does not work try this:
{
"properties": {
"name": {
"type": "string"
},
"link": {
"type": "string"
},
"id": {
"type": "string"
},
"type": {},
"size": {
"type": "integer"
},
"referenceId": {
"type": "string"
},
"driveId": {
"type": "string"
},
"status": {
"type": "integer"
},
"uploadSessionUrl": {}
}
}
Proud to be a Flownaut!
Proud to be a Flownaut!
Flow still fails at same step.
hi @Annabelle what you need to do is manage a condition if the field Fileupload is empty or not.
see
so if is empty go true part but if contains a file you can use parse json to get the link and the use that file
Proud to be a Flownaut!
Hi @Annabelle
Can you try this:
{
"type": ["array","null"],
"items": {
"type": ["object","null"],
"properties": {
"name": {
"type": "string"
},
"link": {
"type": "string"
},
"id": {
"type": "string"
},
"type": {},
"size": {
"type": "integer"
},
"referenceId": {
"type": "string"
},
"driveId": {
"type": "string"
},
"status": {
"type": "integer"
},
"uploadSessionUrl": {}
}
}
}
if that does not work try this:
{
"properties": {
"name": {
"type": "string"
},
"link": {
"type": "string"
},
"id": {
"type": "string"
},
"type": {},
"size": {
"type": "integer"
},
"referenceId": {
"type": "string"
},
"driveId": {
"type": "string"
},
"status": {
"type": "integer"
},
"uploadSessionUrl": {}
}
}
Proud to be a Flownaut!
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
At the monthly call, connect with other leaders and find out how community makes your experience even better.
User | Count |
---|---|
25 | |
24 | |
23 | |
23 | |
17 |
User | Count |
---|---|
56 | |
39 | |
37 | |
29 | |
28 |