Thing id not being passed to backend workflow

I have a strange issue where the id of a thing is not being passed to a backend workflow. Everything is else is being passed just fine. I’m using the workflow to change the status of a job - it’s a simple yes/no depending on the status that’s also being passed.

I’m passing data via a reusable element within a repeating group, but as the other data is being passed okay, that shouldn’t make a difference.

To be clear, the id is the primary key of the thing (“application” in this case). I have zero privacy rules set up and I can see that the parent group job application has the ID present in the debugger when I inspect it.

As a test in the backend workflow, I tried to send an email to the applicant (Parent group job application's creator) with dynamic content that contained application, which should have shown the id in the email. I received the email, but the id is blank. I’ve been trying to resolve this for hours and couldn’t see anyone else with the issue in the forum, so here I am…

Page WF triggering Backend Workflow

Backend workflow

Backend workflow condition passes

image

Anyone had anything similar, or can help me out with this one?

Replying to myself rather than anyone else here, but I’m trying to reconfigure this slightly. I’m using options sets to ensure that all statuses are the same (I had previously used applied instead of apply for example. Options sets are actually a great way of passing data through workflows and also for setting state changes.

Anyhow, I’ll try and see if I have a workaround and post here for anyone else that runs into this issue. It just seems bizarre to me that I can capture a thing of a thing in the backend wf, but not the things id. As an example:

  • Get applications creator > first name - no problem
  • Get applications id - nope!

So I think I just resolved this. It appeared that I was unable to pass the id as I had Use field display instead of ID for key nameschecked in settings > API. Unchecking this is now giving me the ID :slight_smile:

image

2 Likes