BPM to Set Value of HDCase.IssueText on creation of Case

When a user opens case entry and creates a new case record I would like to set the value of the Full text textbox with a list of questions for users to ask when on a call.


I have run tracing. Found the method directive. created a new pre-processing method directive:

I inserted a show message statement so I know the method directive is getting called.

But I can’t figure out how to get the method directive to set a value in that textbox.

Any tips?

Your pre-processing on get new won’t have a row to update yet. You can try on post-processing, or you may have to put it on update. Run a trace where you open a new case and the first thing you do is put some text in that box. See what the last method called is.

1 Like

Pre vs Post is the issue here. You need to pay attention to what the method is doing. Typically, we use Pre when we are saving because we want stuff to happen BEFORE a save. In this case you want to set a value on a new row. If you use Pre, the record does not exist yet because the method didn’t create it yet. You will want to use Post for this one (and almost all GetNew methods).

2 Likes

yeah I should have known better. thanks @Banderson and @Jason_Woods.