akumar
Rookie

Expression , Function , Advance logical condition in k2 5 workflow

Hello ,

 

Does anyone know about k2 5 bleow list of items are availble or not.

 

1. Expression

2. Custom expression Save as template ( custom function)

3. Inline rule how to inmplement Advance rule like 

    if ( Name= 'A' and Age=20)

      Then go to next  

 

   I mean in line rule And & OR condition in if else rule .

 

 I dont see this fearture at the moment . So looking for any expert help.

 

Thanks.

 

0 Kudos
Reply
11 Replies
Themba
Novice

Re: Expression , Function , Advance logical condition in k2 5 workflow

Good day,


 


Please see below article for expressions in k2 FIVE 


https://help.k2.com/onlinehelp/k2five/userguide/5.0/default.htm#Create/Views/ControlExpressions.htm


 


kind regards

0 Kudos
Reply
Themba
Novice

Re: Expression , Function , Advance logical condition in k2 5 workflow

0 Kudos
Reply
akumar
Rookie

Re: Expression , Function , Advance logical condition in k2 5 workflow

Hey Thempa,

 

Thanks for your response , Problem is both shared URL is related to k2 Form not workflow. 

I am specially looking this functionality in k2 5 workflow and it was before . 

 

Thanks.

0 Kudos
Reply
Themba
Novice

Re: Expression , Function , Advance logical condition in k2 5 workflow

Hey K2expert,


 


please see below documentation with rule designer. 


https://help.k2.com/onlinehelp/k2five/userguide/5.0/default.htm#K2_Workflow_Designer/Use/RulesDesign...


 


Kind regards

0 Kudos
Reply
akumar
Rookie

Re: Expression , Function , Advance logical condition in k2 5 workflow

Thanks,

 

Do we have Custom expression in k2 as legacy k2 studio ?

 

Thanks

0 Kudos
Reply
k2eric
Novice

Re: Expression , Function , Advance logical condition in k2 5 workflow

The IF inline function that was available in the legacy workflow designer is on the feature backlog to be released in the new  workflow designer later this year. There will also be a new Condition function that you can use in replacement of the Expression inline function for doing inline logical statements. The Mathematical portion of the Expression inline function has already been released as the Formula function. 

 

I hope this helps.

0 Kudos
Reply
K2Exp
Novice

Re: Expression , Function , Advance logical condition in k2 5 workflow

Hello, We have an exisitng functionality based on prev version of k2 studio or K2 for VS to use function and expression . 

 

That we are not able to see in k2- 5 how to create function. So is there any way ?

 

Thanks

0 Kudos
Reply
azernik
Rookie

Re: Expression , Function , Advance logical condition in k2 5 workflow

Since this reply was post back in May and it is now October, could we please have an update on when we will have the ability to use an IF/THEN function to set data in a workflow? I'm tired of creating bloated workflows in order to update data.

Here's a (simplifed) example:

Old Way -

  1. Get data from SO1,
  2. Update SO2
    • Field1 = If(x<>y, value1, value2),
    • Field2 = If(a="blue", value3, value4))

New Bloated Way -

  1. Get data from SO1,
  2. Decision Step
    • Path1 (x<>y), Update SO2 (Field1=Value1)
    • Path2 (x=y), Update SO2 (Field1= value2)
  3. Decision Step
    • Path1 (A="blue"), Update SO2 (Field2=value3)
    • Path2 (A<>"blue'), Update SO2 (Field2=value4)

PS - If anyone has figured out a better way to do this, please let me know.

0 Kudos
Reply
k2eric
Novice

Re: Expression , Function , Advance logical condition in k2 5 workflow

The plan at the beginning of the year was to have the IF function done for K2 Cloud Update 6/ K2 Five 5.2 however we ended up pulling in a heavily requested feature to add an HTML edit mode to email notifications which pushed out the Inline IF functon. Work is begining next week on the inline IF feature which will ship with K2 Cloud Update 7 and will be available on prem in K2 Five 5.3.

0 Kudos
Reply