Skip to main content
Question

IFS Cloud - Workflow to create Service Contract Lines

  • August 25, 2024
  • 2 replies
  • 118 views

Forum|alt.badge.img+1

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. 

 

 

 

2 replies

Lahirumala de Mel
Hero (Employee)
Forum|alt.badge.img+7

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/


Forum|alt.badge.img+1
  • Author
  • Do Gooder (Partner)
  • 1 reply
  • August 27, 2024

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

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings