Solved

Get Default Value for Custom Field using BPA (Workflow)

  • 19 October 2023
  • 4 replies
  • 271 views

Userlevel 1
Badge +5

Hi,

 

I have Custom Field on Customer -page, Invoice -tab, which value should be entered to Customer Order -page, to another Custom Field. Trigger should be on Customer Order page, when I create new customer order and enter customer id.

I have created Workflow, that “Project Action Information” has:

 

 


​​​

Workflow’s inspection shows the correct value, but when I try create new Customer Order, enter customer id, the value does not appear to Customer Order -page’s Custom Field.

What may be the problem?

 

I’ve checked debugger IFS creates “GetDefaults...” -call when applying Customer ID to Customer Order -page.

 

icon

Best answer by SandT 19 October 2023, 14:47

View original

4 replies

Userlevel 3
Badge +6

Hi @Viitati,

 

If I got your question correctly, I have manged to run the flow successfully using the below design.

 I have used IFS projection task for those 3 task and the projection value(CustomerOrderHandling) and entity set(CustomerOrderSet) value are same for the last two tasks.

 

It seems that you have defined a collection variable in your design. If there are multiple returns in you first task please make sure to handle them using sequence techniques.

Userlevel 1
Badge +5

Hi,

Thank you for your update.
Are you able to export that workflow? For some reason I cannot get it work.

Userlevel 1
Badge +5

Solved internally.

Badge +1
Can you write how you solved the problem?

Reply