Skip to main content
December 10, 2023
Question

Error in Appian Academy Process Modeling 101, Build an Application: Exercise 10, Part 2

  • December 10, 2023
  • 5 replies
  • 0 views

Hi everyone, 

New to Appian, and have been working through the Appian Developer learning path. Today I ran into an issue while following the instructions for the second process model. When I click start process for debugging, I get this error message in the popup window:

 

I decided to continue following the steps and figure this issue out after. After creating the related action, I got another error with a bit more information:

I'm not sure if both of these are caused by the same issue, but it seems like there's an issue with the Vehicle Details View. Here is the expression: 

When I first created the Vehicle Details View, I got another error. After googling for a bit, I added a!documentImage() around the link to the image, but when I took that out it broke the view again.

Any advice on how I might be able to fix this would be amazing. 

5 replies

stefanhelzle0001
December 10, 2023

Sure. The image field requires the value to not be null. Add a showWhen condition to the imageField to prevent that.

showWhen: a!isNotNullOrEmpty(ri!vehicle[AX vehicle.image])

As an alternative, you could use a if() statement to check whether the image is null and use a static placeholder in case.

December 10, 2023

Thank you for your reply. I'm having some issues with getting your suggestion to work. I've tried showWhen, but I was still getting errors. Here is what I've got at the moment:

Any suggestions on what I could do here?

stefanhelzle0001
December 10, 2023

I have a suggestion. Read my tip again and try as I posted.

A empty string is not a static placeholder. What I mean is, to upload a placeholder image, create a constant pointing to this image, and then use that constant.