Skip to main content

Hi, 

 

I want to create a Service Contract Line automatically as soon as the service contract is created. I have created a workflow with two steps as follows: 

 

Step 1: Fetch the Service Contract (Header) details 

 

 

Step 2: Create Service Contract Line using API 

 

I am not getting any error but it doesn’t create the Service Line as well. 

 

Really appreciate - any quick guidance or support. Thank you. 

 

 

 

It seems like you are creating a record in a virtual to create a service line. Most virtuals require to execute the finish command of the assistant in order to actually save the data into database. In this case I assume you have to make a call to an action similar to ‘ServiceLineMainVirtual_Finish’ after you create a record in the virtual.

The recommendation is to first simulate the flow that you wish to include in the Workflow in IFS Web client and follow the network calls. All POST calls that are seen in the console are recommended to be modelled in the Workflow.

Related details at https://docs.ifs.com/techdocs/24r1/040_tailoring/500_business_process_automation/035_api_discoverability_for_workflows/


Thank you @Lahirumala de Mel - It worked and I am able to create the lines now. 

 


Reply