Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Set status code in Workbench Process?

Avatar

Avatar
Validate 1
Level 3
BjornEricsson1
Level 3

Likes

2 likes

Total Posts

48 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 3
BjornEricsson1
Level 3

Likes

2 likes

Total Posts

48 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
BjornEricsson1
Level 3

02-03-2017

How do I set the status code (500) when I detect that input is not correct? I guess this is no ordinary Output variable?

Replies

Avatar

Avatar
Validate 1
Level 2
PriyankP
Level 2

Like

1 like

Total Posts

28 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 2
PriyankP
Level 2

Like

1 like

Total Posts

28 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
PriyankP
Level 2

23-03-2017

BjornEricsson wrote...

How do I set the status code (500) when I detect that input is not correct? I guess this is no ordinary Output variable?

 

Processes returns 500 code when there is an exception. 

While, I haven't done it myself, try if you are able to throw an Exception event.