Skip to content

Conversation

@VipulSha99
Copy link
Collaborator

@VipulSha99 VipulSha99 commented Nov 4, 2025

Description

changes condition script for passed by and coming in clauses

Fixes # (PRJ-7375)

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Intermediate change (work in progress)

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Test A
  • Test B

Checklist:

  • Performed a self-review of my own code
  • npm test passes on your machine
  • New tests added or existing tests modified to cover all changes
  • Code conforms with the style guide
  • API Documentation in code was updated
  • Any dependent changes have been merged and published in downstream modules

@akshatdubeysf
Copy link
Collaborator

better description


@Output()
eventRemoved = new EventEmitter<unknown>();
nodeRemoved = new EventEmitter<unknown>();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why?

if (nodeWithInput.node.state.get('email')) {
(value as AllowedValuesMap).body = (
(value as AllowedValuesMap).body as string
).replace(/\\"/g, '"');
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

again, why?

display: inline-block;
overflow: hidden;
max-width: 45%;
max-width: 15rem;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why a hard coded width? and why can't you override this in the target project

[disabled]="!emailInput.subject || !emailInput.body"
>
{{ localizedStringKeys.SetLbl | localization }}
{{ setLbl }}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

translation?

*/
element.node.elements.splice(-NUMBER.TWO, NUMBER.TWO);
// element.inputs[1].prefix = '';
//this.enableActionIcon = false;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

??

formatter: <S extends RecordOfAnyType>(state: State<S>) => {
if (typeof state.get('value') === 'object') {
return `'${JSON.stringify(state.get('value'))}'`;
switch (state.get('valueInputType')) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like project specific implementation

}

private intervalBodyPrepare(state: State<RecordOfAnyType>) {
if (
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move this out to a separate parser service or utility

const tmp = params[key];
if (isFormattedParam(tmp)) {
return `${p}\njson.prop("${key}", ${tmp.formatter(state)});`;
return `${p}\njson["${key}"] = ${tmp.formatter(state)};`;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Undo this, should not return stringified json from for object type variable

import {InputTypes} from '../../../enum';
import {RecordOfAnyType} from '../../../types';

export class CriteriaInput extends WorkflowPrompt {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks project specific?

import {InputTypes} from '../../../enum';
import {RecordOfAnyType} from '../../../types';

export class StepperInput extends WorkflowPrompt {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is a stepper input? explain

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants